- Timestamp:
- Apr 4, 2012 5:05:50 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia-videodev/videodev.h
r3893 r4016 560 560 /** 561 561 * Register a supported video device factory to the video device subsystem. 562 * Application can either register a function to create the factory, or 563 * an instance of an already created factory. 564 * 562 565 * This function can only be called after calling 563 566 * #pjmedia_vid_dev_subsys_init(). 564 567 * 565 * @param vdf The video device factory. 568 * @param vdf The factory creation function. Either vdf or factory 569 * argument must be specified. 570 * @param factory Factory instance. Either vdf or factory 571 * argument must be specified. 566 572 * 567 573 * @return PJ_SUCCESS on successful operation or the appropriate … … 569 575 */ 570 576 PJ_DECL(pj_status_t) 571 pjmedia_vid_register_factory(pjmedia_vid_dev_factory_create_func_ptr vdf); 577 pjmedia_vid_register_factory(pjmedia_vid_dev_factory_create_func_ptr vdf, 578 pjmedia_vid_dev_factory *factory); 572 579 573 580 … … 578 585 * is currently in use, then the behavior is undefined. 579 586 * 580 * @param vdf The video device factory. 587 * @param vdf The video device factory. Either vdf or factory argument 588 * must be specified. 589 * @param factory The factory instance. Either vdf or factory argument 590 * must be specified. 581 591 * 582 592 * @return PJ_SUCCESS on successful operation or the appropriate … … 584 594 */ 585 595 PJ_DECL(pj_status_t) 586 pjmedia_vid_unregister_factory(pjmedia_vid_dev_factory_create_func_ptr vdf); 596 pjmedia_vid_unregister_factory(pjmedia_vid_dev_factory_create_func_ptr vdf, 597 pjmedia_vid_dev_factory *factory); 587 598 588 599
Note: See TracChangeset
for help on using the changeset viewer.