[FFmpeg-devel] [PATCH] videotoolbox: allow to enable the async decoding.
u at pkh.me
Thu Aug 13 08:26:30 CEST 2015
On Thu, Aug 13, 2015 at 01:07:38PM +0800, Zhang Rui wrote:
> > status = VTDecompressionSessionDecodeFrame(videotoolbox->session,
> > sample_buf,
> > - 0, // decodeFlags
> > + decodeFlags,
> > NULL, // sourceFrameRefCon
> > 0); // infoFlagsOut
> Better keep tracking how many decoding samples,
> that are passed in and not yet received in callback.
> VideoToolbox doesn't limit the number of frames in callback thread in
> async mode.
doc used to say that VTDecompressionSessionDecodeFrame will block when the
internal queue is full in async mode. I haven't check if this is verified
in practice though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 473 bytes
Desc: not available
More information about the ffmpeg-devel