Re: [FFmpeg-devel] [PATCH] libavcodec/videotoolbox: let VideoToolbox choose a decoder for us

2020-08-02 Thread
, 2020, 3:09 PM +0800, Hendrik Leppkes , wrote: > On Sun, Aug 2, 2020 at 7:54 AM 王 氚 wrote: > > > > Just dig it a little bit, and I found that the first attempt of > > [VTDecompressionSessionCreate] is always ok, if we try to decode some > > normal size of video(for

Re: [FFmpeg-devel] [PATCH] libavcodec/videotoolbox: let VideoToolbox choose a decoder for us

2020-08-01 Thread
Aug 2, 2020, 1:11 AM +0800, Hendrik Leppkes , wrote: > On Sat, Aug 1, 2020 at 6:25 PM 王 氚 wrote: > > > > I’m just looking at the bug https://trac.ffmpeg.org/ticket/8789 > > And I found that in this case, VTDecompressionSessionCreate will fail and > > return kVTVideoDecoder

Re: [FFmpeg-devel] [PATCH] libavcodec/videotoolbox: let VideoToolbox choose a decoder for us

2020-08-01 Thread
I’m just looking at the bug https://trac.ffmpeg.org/ticket/8789 And I found that in this case, VTDecompressionSessionCreate will fail and return  kVTVideoDecoderNotAvailableNowErr While according to the document of [VTDecompressionSessionCreate], it is possible to give a null And let videotoolbo