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.

Attachment: pgp67h8ADcit_.pgp
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to