[MPlayer-dev-eng] [PATCH] Multiple problems with tfields filter

Uoti Urpala uoti.urpala at pp1.inet.fi
Mon Feb 1 00:39:51 CET 2010


On Sun, 2010-01-31 at 16:34 -0500, John Lindgren wrote:
> I recently started using the tfields=1 filter for deinterlacing when

>       * Fix continue_buffered_image() to recalculate pts value when "i"
>         counter changes.

I think this shouldn't matter. There are two modes. In the newer version
at most one frame is produced before exiting the function, so the value
of 'i' doesn't change there. In the obsolete version two frames may be
produced consecutively inside the filter and 'i' can change inside the
loop, but in that mode the resulting pts value is mostly ignored by the
code (I think it could be used for libass rendering later in the
pipeline, but I doubt changing it would bring any benefit in this case).





More information about the MPlayer-dev-eng mailing list