On 2014-03-24 21:20:27 +0100, Luca Barbato wrote:
> On 24/03/14 20:26, wm4 wrote:
> > In practice, it's called when the decoder is flushed, i.e. on seeking.
> > And yes, this is a bit of a bother. Freeing all hardware surfaces and
> > reallocating them etc. makes seeking quite a bit slower this way.
> 
> I'm not sure how to make it more optimal, if you have ideas I'm all hears.

I don't think it necessary to call get_format() unconditionally after
seeking. Fixing it in h264.c might be not so nice though.

I guess h264.c is not the only decoder which needs fixing. I'll look
into it.

Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to