[MPlayer-dev-eng] [PATCH] Hack to allow compilation to go further

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Apr 23 23:15:45 CEST 2011


On Sat, Apr 23, 2011 at 10:48:36PM +0200, Ingo Brückl wrote:
> @@ -827,7 +827,11 @@
>          }
>      }
>  
> -    avctx->hurry_up=(flags&3)?((flags&2)?2:1):0;
> +    if (flags&3) {
> +        avctx->skip_frame=AVDISCARD_NONREF;
> +        if (flags&2)
> +            avctx->skip_idct=AVDISCARD_ALL;
> +    }

This will end up never resetting the value.
It also creates a conflict with the existing options to
set these (and remember that these can also be set via the
generic o= option).

> Index: configure
> ===================================================================
> --- configure	(revision 33317)
> +++ configure	(working copy)
> @@ -6870,7 +6870,7 @@
>    die "MPlayer will not compile without libavutil in the source tree."
>  ffmpeg=no
>  if test "$ffmpeg_a" = auto ; then
> -  test -d ffmpeg/libavutil && ffmpeg_a=yes && ffmpeg=yes && extra_cflags="$extra_cflags -DFF_API_HURRY_UP=1 -DFF_API_MAX_STREAMS=0"
> +  test -d ffmpeg/libavutil && ffmpeg_a=yes && ffmpeg=yes

There is no need to change that right away.


More information about the MPlayer-dev-eng mailing list