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/simpleua.c

    r3667 r4051  
    386386    PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); 
    387387 
    388 #  if defined(PJMEDIA_HAS_FFMPEG_CODEC) && PJMEDIA_HAS_FFMPEG_CODEC!=0 
     388#  if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC!=0 
    389389    /* Init ffmpeg video codecs */ 
    390     status = pjmedia_codec_ffmpeg_init(NULL, &cp.factory); 
    391     PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); 
    392 #  endif  /* PJMEDIA_HAS_FFMPEG_CODEC */ 
     390    status = pjmedia_codec_ffmpeg_vid_init(NULL, &cp.factory); 
     391    PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); 
     392#  endif  /* PJMEDIA_HAS_FFMPEG_VID_CODEC */ 
    393393 
    394394#endif  /* PJMEDIA_HAS_VIDEO */ 
     
    574574 
    575575    /* Deinit ffmpeg codec */ 
    576 #   if defined(PJMEDIA_HAS_FFMPEG_CODEC) && PJMEDIA_HAS_FFMPEG_CODEC!=0 
    577     pjmedia_codec_ffmpeg_deinit(); 
     576#   if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC!=0 
     577    pjmedia_codec_ffmpeg_vid_deinit(); 
    578578#   endif 
    579579 
Note: See TracChangeset for help on using the changeset viewer.