Re: [FFmpeg-devel] [PATCH] lavc/qsv: skip the packet if decoding failure.

2018-01-26 Thread Mark Thompson
ng <ruiling.s...@intel.com> >> Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsv: skip the packet if decoding >> failure. >> >> >> >> On 2018/1/25 16:37, Ruiling Song wrote: >>> From: "Ruiling, Song" <ruiling.s...@intel.com> >>

Re: [FFmpeg-devel] [PATCH] lavc/qsv: skip the packet if decoding failure.

2018-01-25 Thread Song, Ruiling
> -Original Message- > From: Jun Zhao [mailto:mypopy...@gmail.com] > Sent: Friday, January 26, 2018 1:02 PM > To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>; > Song, Ruiling <ruiling.s...@intel.com> > Subject: Re: [FFmpeg-devel] [PA

Re: [FFmpeg-devel] [PATCH] lavc/qsv: skip the packet if decoding failure.

2018-01-25 Thread Jun Zhao
On 2018/1/25 16:37, Ruiling Song wrote: > From: "Ruiling, Song" > > MediaSDK may fail to decode some frame, just skip it. > Otherwise, it will keep decoding the failure packet repeatedly > without processing any packet afterwards. > > v2: > switch to using

Re: [FFmpeg-devel] [PATCH] lavc/qsv: skip the packet if decoding failure.

2018-01-25 Thread Jun Zhao
On 2018/1/25 16:37, Ruiling Song wrote: > From: "Ruiling, Song" > > MediaSDK may fail to decode some frame, just skip it. > Otherwise, it will keep decoding the failure packet repeatedly > without processing any packet afterwards. > > v2: > switch to using

[FFmpeg-devel] [PATCH] lavc/qsv: skip the packet if decoding failure.

2018-01-25 Thread Ruiling Song
From: "Ruiling, Song" MediaSDK may fail to decode some frame, just skip it. Otherwise, it will keep decoding the failure packet repeatedly without processing any packet afterwards. v2: switch to using av_packet_unref(). Signed-off-by: Ruiling Song

[FFmpeg-devel] [PATCH] lavc/qsv: skip the packet if decoding failure.

2018-01-22 Thread Ruiling, Song
MediaSDK may fail to decode some frame, just skip it. Otherwise, it will keep decoding the failure packet repeatedly without processing any packet afterwards. Signed-off-by: Ruiling, Song --- libavcodec/qsvdec_h2645.c | 8 ++-- 1 file changed, 6 insertions(+), 2