Le lundi 22 juillet 2013 22:00:48 Luca Barbato a écrit :
> On 07/22/2013 09:48 PM, Rémi Denis-Courmont wrote:
> > Slice threading does not work with hardware acceleration, as decoding
> > is per-picture.
> > 
> > This fixes https://bugzilla.libav.org/show_bug.cgi?id=542
> > ---
> > 
> >  libavcodec/mpeg12dec.c |    9 ++++++---
> >  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> Doesn't look bad but wouldn't be simpler mask out thread slice on
> decoder init or on option parsing?

The use of hardware acceleration is decided only when get_format() is called.

-- 
Rémi Denis-Courmont
http://www.remlab.net/

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

Reply via email to