Re: [FFmpeg-devel] [PATCH] mpeg2_hwaccel: always submit twice for a frame with two fileds.

2017-09-20 Thread Li, Zhong
[PATCH] mpeg2_hwaccel: always submit twice > for a frame with two fileds. > > > > On 2017/9/21 11:26, Zhong Li wrote: > > Though this patch to fix https://trac.ffmpeg.org/ticket/6668, and > > allows to set the slice_flags option to decoder, I belive it is > > unnecessar

Re: [FFmpeg-devel] [PATCH] mpeg2_hwaccel: always submit twice for a frame with two fileds.

2017-09-20 Thread Jun Zhao
On 2017/9/21 11:26, Zhong Li wrote: > Though this patch to fix https://trac.ffmpeg.org/ticket/6668, and allows > to set the slice_flags option to decoder, I belive it is unnecessary to set > SLICE_FLAG_ALLOW_FIELD flag to other hwaccels(dxva, vdpau, etc). > > Signed-off-by: Zhong Li > --- > lib

[FFmpeg-devel] [PATCH] mpeg2_hwaccel: always submit twice for a frame with two fileds.

2017-09-20 Thread Zhong Li
Though this patch to fix https://trac.ffmpeg.org/ticket/6668, and allows to set the slice_flags option to decoder, I belive it is unnecessary to set SLICE_FLAG_ALLOW_FIELD flag to other hwaccels(dxva, vdpau, etc). Signed-off-by: Zhong Li --- libavcodec/mpeg12dec.c | 3 +-- libavcodec/options