Ignore:
Timestamp:
Apr 4, 2012 5:05:50 AM (12 years ago)
Author:
bennylp
Message:

Fixed #1478: AVI player virtual device. Initial spec:

  • Currently only Works with raw video and audio AVI files
  • Added --play-avi and --auto-play-avi options in pjsua
  • No A/V synchronization yet
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia-videodev/videodev.h

    r3893 r4016  
    560560/** 
    561561 * 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 * 
    562565 * This function can only be called after calling 
    563566 * #pjmedia_vid_dev_subsys_init(). 
    564567 * 
    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. 
    566572 * 
    567573 * @return          PJ_SUCCESS on successful operation or the appropriate 
     
    569575 */ 
    570576PJ_DECL(pj_status_t) 
    571 pjmedia_vid_register_factory(pjmedia_vid_dev_factory_create_func_ptr vdf); 
     577pjmedia_vid_register_factory(pjmedia_vid_dev_factory_create_func_ptr vdf, 
     578                             pjmedia_vid_dev_factory *factory); 
    572579 
    573580 
     
    578585 * is currently in use, then the behavior is undefined. 
    579586 * 
    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. 
    581591 * 
    582592 * @return          PJ_SUCCESS on successful operation or the appropriate 
     
    584594 */ 
    585595PJ_DECL(pj_status_t) 
    586 pjmedia_vid_unregister_factory(pjmedia_vid_dev_factory_create_func_ptr vdf); 
     596pjmedia_vid_unregister_factory(pjmedia_vid_dev_factory_create_func_ptr vdf, 
     597                               pjmedia_vid_dev_factory *factory); 
    587598 
    588599 
Note: See TracChangeset for help on using the changeset viewer.