[MPlayer-dev-eng] [PATCH] ve_lavc delayed frames

Loren Merritt lorenm at u.washington.edu
Wed Jul 28 12:47:34 CEST 2004


On Wed, 28 Jul 2004, Michael Niedermayer wrote:
> On Tuesday 27 July 2004 00:49, Loren Merritt wrote:
> > When encoding to lavc with b-frames, mencoder emits some dummy frames at
> > the beginning of the output video (because lavc hasn't returned any
> > compressed frames yet). This causes A-V desync, and (the case that I first
> > noticed) messes with timestamps in a variable-framerate video.
> >
> > This patch supresses the dummy frames.
>
> why do u use lavc_venc_context->coded_frame->pict_type instead of outsize?

I'm pretty sure frames aren't supposed to be of type '?', while I saw no
particular reason that size 0 should be invalid. Maybe I'm wrong, though.

--Loren Merritt




More information about the MPlayer-dev-eng mailing list