Ignore:
Timestamp:
Mar 25, 2011 8:13:43 AM (10 years ago)
Author:
bennylp
Message:

libswscale rearrangement (re #1219/ffmpeg codecs): instantiate libswscale converter from the converter manager instead of having to instantiate it manually in all apps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjsip/src/pjsua-lib/pjsua_media.c

    r3476 r3487  
    6060 
    6161 
    62 PJ_DECL(pj_status_t) 
    63 pjmedia_libswscale_converter_init(pjmedia_converter_mgr *mgr, 
    64                                   pj_pool_t *pool); 
    65  
    6662/** 
    6763 * Init media subsystems. 
     
    315311    if (status != PJ_SUCCESS) { 
    316312        pjsua_perror(THIS_FILE, "Error initializing ffmpeg library", 
    317                      status); 
    318         return status; 
    319     } 
    320 #endif 
    321  
    322 #if PJMEDIA_HAS_VIDEO && PJMEDIA_HAS_LIBSWSCALE && PJMEDIA_HAS_LIBAVUTIL 
    323     status = pjmedia_libswscale_converter_init(NULL, pjsua_var.pool); 
    324     if (status != PJ_SUCCESS) { 
    325         pjsua_perror(THIS_FILE, "Error initializing libswscale converter", 
    326313                     status); 
    327314        return status; 
Note: See TracChangeset for help on using the changeset viewer.