Ignore:
Timestamp:
Nov 22, 2019 6:18:55 AM (5 years ago)
Author:
ming
Message:

Fixed #2253: Support for VP8 and VP9 video codec

File:
1 edited

Legend:

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

    r4815 r6110  
    8484#endif 
    8585 
     86#if defined(PJMEDIA_HAS_VID_TOOLBOX_CODEC) && \ 
     87    PJMEDIA_HAS_VID_TOOLBOX_CODEC != 0 
     88    status = pjmedia_codec_vid_toolbox_init(NULL, pf); 
     89    PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); 
     90#endif 
     91 
     92#if defined(PJMEDIA_HAS_VPX_CODEC) && PJMEDIA_HAS_VPX_CODEC != 0 
     93    status = pjmedia_codec_vpx_vid_init(NULL, pf); 
     94    PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); 
     95#endif 
     96 
    8697#if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC != 0 
    8798    status = pjmedia_codec_ffmpeg_vid_init(NULL, pf); 
     
    103114#if defined(PJMEDIA_HAS_OPENH264_CODEC) && PJMEDIA_HAS_OPENH264_CODEC != 0 
    104115    pjmedia_codec_openh264_vid_deinit(); 
     116#endif 
     117 
     118#if defined(PJMEDIA_HAS_VID_TOOLBOX_CODEC) && \ 
     119    PJMEDIA_HAS_VID_TOOLBOX_CODEC != 0 
     120    pjmedia_codec_vid_toolbox_deinit(); 
     121#endif 
     122 
     123#if defined(PJMEDIA_HAS_VPX_CODEC) && PJMEDIA_HAS_VPX_CODEC != 0 
     124    pjmedia_codec_vpx_vid_deinit(); 
    105125#endif 
    106126 
Note: See TracChangeset for help on using the changeset viewer.