Re: [libav-devel] [PATCH 1/2] lavc/qsvdec: set complete_frame flags for non-interlaced frames.

2018-03-20 Thread Li, Zhong
> From: libav-devel [mailto:libav-devel-boun...@libav.org] On Behalf Of > Maxym Dmytrychenko > Sent: Monday, March 19, 2018 5:59 PM > To: libav development <libav-devel@libav.org> > Subject: Re: [libav-devel] [PATCH 1/2] lavc/qsvdec: set complete_frame flags > f

Re: [libav-devel] [PATCH 1/2] lavc/qsvdec: set complete_frame flags for non-interlaced frames.

2018-03-19 Thread Maxym Dmytrychenko
MFX_BITSTREAM_COMPLETE_FRAME support can be added as a param or can be only such if() conditions sufficient for all cases and streams ? On Mon, Mar 19, 2018 at 10:33 AM, Zhong Li wrote: > Set the flag MFX_BITSTREAM_COMPLETE_FRAME when it is a completed frame. > This can

[libav-devel] [PATCH 1/2] lavc/qsvdec: set complete_frame flags for non-interlaced frames.

2018-03-19 Thread Zhong Li
Set the flag MFX_BITSTREAM_COMPLETE_FRAME when it is a completed frame. This can fix vc1 decoding segment fault issues because can't set the start code correctly. See: ./avconv -hwaccel qsv -c:v vc1_qsv -i /fate-suite/vc1/SA00040.vc1 -vf "hwdownload, format=nv12" -f rawvideo /dev/null