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

Ingo Brückl ib at wupperonline.de
Sun Apr 24 17:19:44 CEST 2011


Reimar Döffinger wrote on Sun, 24 Apr 2011 11:45:54 +0200:

>> Another attempt.

> I think that's correct. If you have checked it actually works
> (e.g. add a printf to ensure the code is executed, them provoke
> it by running a video with too high -speed for it to keep up,
> use -framedrop and -hardframedrop to enable the feature -
> best use a video with B-frames for the first and a MPEG-2 for
> the second option) it can be applied.

Did the tests.

With -speed 100, neither avctx->skip_frame nor avctx->skip_idct got changed.

With -speed 100 -framedrop, avctx->skip_frame got set.

With -speed 100 -hardframedrop, both avctx->skip_frame and avctx->skip_idct
got set.

After a change of avctx->skip_frame or avctx->skip_idct they got reset to
their initial values until the next change.

Seems to work. (Wow, my first non-gui patch.)

BTW, can the configure patch be applied after that then?

Ingo


More information about the MPlayer-dev-eng mailing list