[MPlayer-dev-eng] [PATCH] delay-compensated B-frames and dwStart

Corey Hickey bugfood-ml at fatooh.org
Fri Feb 17 03:39:45 CET 2006


Corey Hickey wrote:
> This patch is the combination of my earlier efforts into (a)fixing video
> delay when encoding with B-frames and (b)making mplayer/mencoder
> recognize dwStart correctly.

Here's a patch against current cvs, with a few slight updates:

1. Added '#ifdef XVID_API_UNSTABLE' around the decoder_delay section of
ve_xvid.c because otherwise enc_param.max_bframes doesn't exist. Bug
reported (and fix tested) by Robert Henney, in private email.

2. Re-added 'sh_audio->delay=-audio_delay' to mplayer.c; my previous
patch mistakenly removed it.

3. Changed comment wording.

-Corey
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bframes-and-dwStart2.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060216/93b73ff9/attachment.asc>


More information about the MPlayer-dev-eng mailing list