[FFmpeg-devel] [PATCH] codec_desc: mark CFHD as intra-only

Anton Khirnov anton at khirnov.net
Wed Jun 10 12:19:14 EEST 2020


Quoting James Almer (2020-06-09 14:45:33)
> On 6/9/2020 6:06 AM, Anton Khirnov wrote:
> > I don't think this needs to be visible externally, since it's only
> > meaningful for internal use. I'm wondering if the presence of
> > update_thread_context() callback won't be sufficient for this.
> 
> True, it could be a caps_internal. But take for example the possibility
> of an external library with a fully featured decoder getting a wrapper,
> this being a public capability would let the user choose it over the
> internal one, same as how it can choose a stable decoder over an
> experimental one, or a software one over an hybrid/hw one.

I don't see why this should be a criterium for the user to base any
decisions on. It's purely an internal implementation detail that's tied
to the way frame threading is currently implemented and can potentially
change later. So I don't see why it should be accessible through the
API.

Also, not sure if you saw but I have new patch fixing this problem in
another manner.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list