[FFmpeg-devel] [PATCH] pthread: Fix ff_thread_get_formatissues when called outside frame decode.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Wed Mar 11 12:48:32 CET 2015
On 11.03.2015, at 12:34, wm4 <nfxjfg at googlemail.com> wrote:
> On Tue, 10 Mar 2015 18:02:12 +0100
> Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:
>>>> Also the buffering issue is the other way, when you try to go from multithreading to HW decode, how do you handle that?
>>>> If it works well I'd be totally in favour, but I strongly suspect it only works because you both got lucky and don't even try the hard things and still need more code on the user side.
>>>
>>> Just create a new context.
>>
>> There is nothing "just" about creating a new context, not for those who want seamless switching between hardware and software decoding.
>> I am not one of those people admittedly, but I do see it as an issue.
>
> Then lavc should provide a proper mechanism for this.
>
> The get_format thing doesn't work if the hardware decoder and the
> software decoder are different AVCodecs.
No disagreement here.
That doesn't make any of the not working suggestions a solution though, and I don't find it appropriate to "attack" (ok, a bit exaggerated) people trying to make the code we have work for them.
More information about the ffmpeg-devel
mailing list