]> git.sesse.net Git - ffmpeg/commit
avcodec/mpeg12dec: always submit the first field to hwaccel
authorZhong Li <zhong.li@intel.com>
Mon, 23 Oct 2017 07:43:30 +0000 (15:43 +0800)
committerTimo Rothenpieler <timo@rothenpieler.org>
Thu, 2 Jan 2020 12:29:46 +0000 (13:29 +0100)
commit12c4d00c10cb73f1976c8de5b23b1405803bd454
tree6d06d3a88881a739993676ae732f7e22912c2f9a
parentd4996a600ca0334235a4b66beae5b5c3474535c4
avcodec/mpeg12dec: always submit the first field to hwaccel

Though this patch to fix ticket #6668, I belive it
is unnecessary to set SLICE_FLAG_ALLOW_FIELD flag to other
hwaccels(dxva, vdpau, etc). Please also refer the orginal comment
of 9cb150c9ab520eba5636bbcf925db6a70e67f3e5

Should also fix ticket #8442.

Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
libavcodec/mpeg12dec.c