- Timestamp:
- Jun 29, 2016 4:58:16 AM (8 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r5361 r5364 6920 6920 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 6921 6921 av_pkg="$av_pkg libswscale" 6922 enable_libyuv="no"6923 6922 fi 6924 6923 if $PKG_CONFIG --exists libavutil; then … … 7159 7158 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 7160 7159 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 7161 enable_libyuv="no"7162 7160 7163 7161 fi -
pjproject/trunk/aconfigure.ac
r5361 r5364 1066 1066 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 1067 1067 av_pkg="$av_pkg libswscale" 1068 dnl # disable libyuv when libswscale is enabled1069 enable_libyuv="no"1070 1068 fi 1071 1069 if $PKG_CONFIG --exists libavutil; then … … 1126 1124 [ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 1127 1125 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 1128 enable_libyuv="no"1129 1126 ], 1130 1127 [], -
pjproject/trunk/pjmedia/src/pjmedia/converter.c
r5306 r5364 53 53 converter_manager_instance = mgr; 54 54 55 #if defined(PJMEDIA_HAS_LIBYUV) && PJMEDIA_HAS_LIBYUV != 056 status = pjmedia_libyuv_converter_init(mgr);57 if (status != PJ_SUCCESS) {58 PJ_PERROR(4,(THIS_FILE, status,59 "Error initializing libyuv converter"));60 }61 #endif62 63 55 #if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) && \ 64 56 defined(PJMEDIA_HAS_LIBSWSCALE) && (PJMEDIA_HAS_LIBSWSCALE != 0) … … 67 59 PJ_PERROR(4,(THIS_FILE, status, 68 60 "Error initializing libswscale converter")); 61 } 62 #endif 63 64 #if defined(PJMEDIA_HAS_LIBYUV) && PJMEDIA_HAS_LIBYUV != 0 65 status = pjmedia_libyuv_converter_init(mgr); 66 if (status != PJ_SUCCESS) { 67 PJ_PERROR(4,(THIS_FILE, status, 68 "Error initializing libyuv converter")); 69 69 } 70 70 #endif
Note: See TracChangeset
for help on using the changeset viewer.