Ignore:
Timestamp:
Apr 17, 2012 2:48:29 AM (8 years ago)
Author:
nanang
Message:

Misc (re #1446): redirect ffmpeg logging with custom log callback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c

    r4049 r4056  
    594594        goto on_error; 
    595595 
     596    pjmedia_ffmpeg_add_ref(); 
    596597    avcodec_init(); 
    597598    avcodec_register_all(); 
    598     av_log_set_level(AV_LOG_ERROR); 
    599599 
    600600    /* Enum FFMPEG codecs */ 
     
    855855    ffmpeg_factory.pool = NULL; 
    856856 
     857    pjmedia_ffmpeg_dec_ref(); 
     858 
    857859    return status; 
    858860} 
Note: See TracChangeset for help on using the changeset viewer.