[FFmpeg-devel] [PATCH 1/6] Frame-based multithreading framework using pthreads

Ronald S. Bultje rsbultje
Mon Nov 15 18:37:35 CET 2010


On Mon, Nov 15, 2010 at 5:20 PM, Reimar D?ffinger
<Reimar.Doeffinger at gmx.de> wrote:
> On Mon, Nov 15, 2010 at 08:37:01AM -0500, Alexander Strange wrote:
>> +* There is one frame of delay added for every thread beyond the first one.
>> + ?Clients using dts must account for the delay; pts sent through reordered_opaque
>> + ?will work as usual.
> Is there a way to query this? I mean the application
> knows how many threads it set, but that might not always
> be the same number as FFmpeg uses or so?

This is poorly designed anyway (imho). While at it, why not start
using the AVFrame.pts/dts fields as is done for encoding (and a compat
wrapper for those poor souls using reordered_opaque).


More information about the ffmpeg-devel mailing list