Ignore:
Timestamp:
Apr 13, 2012 8:16:30 AM (7 years ago)
Author:
ming
Message:

Re #1446 (misc): Change the default of PJMEDIA_HAS_FFMPEG_VID_CODEC to PJMEDIA_HAS_FFMPEG_CODEC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/vid_streamutil.c

    r3937 r4051  
    122122    PJ_UNUSED_ARG(status); 
    123123 
    124 #if defined(PJMEDIA_HAS_FFMPEG_CODEC) && PJMEDIA_HAS_FFMPEG_CODEC != 0 
    125     status = pjmedia_codec_ffmpeg_init(NULL, pf); 
     124#if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC != 0 
     125    status = pjmedia_codec_ffmpeg_vid_init(NULL, pf); 
    126126    PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); 
    127127#endif 
     
    135135static void deinit_codecs() 
    136136{ 
    137 #if defined(PJMEDIA_HAS_FFMPEG_CODEC) && PJMEDIA_HAS_FFMPEG_CODEC != 0 
    138     pjmedia_codec_ffmpeg_deinit(); 
     137#if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC != 0 
     138    pjmedia_codec_ffmpeg_vid_deinit(); 
    139139#endif 
    140140} 
Note: See TracChangeset for help on using the changeset viewer.