Ignore:
Timestamp:
Nov 22, 2019 6:18:55 AM (11 months 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_streamutil.c

    r5910 r6110  
    139139#endif 
    140140 
     141#if defined(PJMEDIA_HAS_VID_TOOLBOX_CODEC) && \ 
     142    PJMEDIA_HAS_VID_TOOLBOX_CODEC != 0 
     143    status = pjmedia_codec_vid_toolbox_init(NULL, pf); 
     144    PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); 
     145#endif 
     146 
     147#if defined(PJMEDIA_HAS_VPX_CODEC) && PJMEDIA_HAS_VPX_CODEC != 0 
     148    status = pjmedia_codec_vpx_vid_init(NULL, pf); 
     149    PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); 
     150#endif 
     151 
    141152#if defined(PJMEDIA_HAS_FFMPEG_VID_CODEC) && PJMEDIA_HAS_FFMPEG_VID_CODEC != 0 
    142153    status = pjmedia_codec_ffmpeg_vid_init(NULL, pf); 
     
    158169#if defined(PJMEDIA_HAS_OPENH264_CODEC) && PJMEDIA_HAS_OPENH264_CODEC != 0 
    159170    pjmedia_codec_openh264_vid_deinit(); 
     171#endif 
     172 
     173#if defined(PJMEDIA_HAS_VID_TOOLBOX_CODEC) && \ 
     174    PJMEDIA_HAS_VID_TOOLBOX_CODEC != 0 
     175    pjmedia_codec_vid_toolbox_deinit(); 
     176#endif 
     177 
     178#if defined(PJMEDIA_HAS_VPX_CODEC) && PJMEDIA_HAS_VPX_CODEC != 0 
     179    pjmedia_codec_vpx_vid_deinit(); 
    160180#endif 
    161181 
Note: See TracChangeset for help on using the changeset viewer.