[FFmpeg-devel] [PATCH] videotoolbox: allow to enable the async decoding.
Clément Bœsch
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.
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150813/2e068162/attachment.sig>
More information about the ffmpeg-devel
mailing list