[FFmpeg-devel] [PATCH] make mpeg12 decoder return error if error concealment is not set.

Baptiste Coudurier baptiste.coudurier
Sat Nov 20 04:08:38 CET 2010


On 11/19/2010 06:49 PM, Michael Niedermayer wrote:
> On Thu, Nov 18, 2010 at 05:11:41PM -0800, Baptiste Coudurier wrote:
>> Hi
>>
>> $subject.
>>
>> --
>> Baptiste COUDURIER
>> Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
>> FFmpeg maintainer                                  http://www.ffmpeg.org
>
>>   mpeg12.c |   16 ++++++++++++----
>>   1 file changed, 12 insertions(+), 4 deletions(-)
>> eaf1078fa6d06bea7886f11493fe36075e9cf8c2  mpeg2_decoder_error.patch
>
> This would result in worse vissual output in mpeg2 or sliced mpeg1 because
> later slices are completely skiped even if they are correct.
> And this also will affect future frames negatively

Well, user asked for 0 error concealment, we shouldn't do it anyway.

I want to be able to fail if the frame is damaged, what do you propose ?

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list