mpeg12: Ignore slice threading if hwaccel is active
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 24 Jul 2013 16:50:43 +0000 (19:50 +0300)
committerDiego Biurrun <diego@biurrun.de>
Thu, 25 Jul 2013 17:43:32 +0000 (19:43 +0200)
commit93a51984a27f3ba84d4e6f13d0c704ee9891603e
tree5a4a30433ccc51d73cb5b5c50aa0feebc893f2b5
parent582963a8156522582e55466be4a59974a8d909a5
mpeg12: Ignore slice threading if hwaccel is active

Slice threading does not work with hardware acceleration, as decoding
is per-picture.  This fixes Bugzilla #542.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/mpeg12dec.c