comparison configure @ 33235:6e6eac0ea1b4

Replace usage of AVCodecContext member hurry_up by skip_idct and skip_frame. AVCodecContext member hurry_up is deprecated in favor of skip_idct and skip_frame and won't be applicable with libavcodec starting from major version number 53 by default. The configure hack FF_API_HURRY_UP=1 to allow further usage of hurry_up is no longer needed. As a result, usage of a recent standard ffmpeg as shared library is possible again.
author ib
date Sun, 24 Apr 2011 16:13:25 +0000
parents 17e7a4d3fb57
children 747e5068118c
comparison
equal deleted inserted replaced
33234:2f5d6ec5c131 33235:6e6eac0ea1b4
6868 echocheck "FFmpeg" 6868 echocheck "FFmpeg"
6869 test -d ffmpeg/libavutil || 6869 test -d ffmpeg/libavutil ||
6870 die "MPlayer will not compile without libavutil in the source tree." 6870 die "MPlayer will not compile without libavutil in the source tree."
6871 ffmpeg=no 6871 ffmpeg=no
6872 if test "$ffmpeg_a" = auto ; then 6872 if test "$ffmpeg_a" = auto ; then
6873 test -d ffmpeg/libavutil && ffmpeg_a=yes && ffmpeg=yes && extra_cflags="$extra_cflags -DFF_API_HURRY_UP=1 -DFF_API_MAX_STREAMS=0" 6873 test -d ffmpeg/libavutil && ffmpeg_a=yes && ffmpeg=yes && extra_cflags="$extra_cflags -DFF_API_MAX_STREAMS=0"
6874 elif test "$ffmpeg_so" = auto ; then 6874 elif test "$ffmpeg_so" = auto ; then
6875 ffmpeg_so=no 6875 ffmpeg_so=no
6876 if $_pkg_config --exists libavutil ; then 6876 if $_pkg_config --exists libavutil ; then
6877 inc_ffmpeg=$($_pkg_config --cflags libpostproc libswscale libavformat libavcodec libavutil) 6877 inc_ffmpeg=$($_pkg_config --cflags libpostproc libswscale libavformat libavcodec libavutil)
6878 _ld_tmp=$($_pkg_config --libs libpostproc libswscale libavformat libavcodec libavutil) 6878 _ld_tmp=$($_pkg_config --libs libpostproc libswscale libavformat libavcodec libavutil)