From 51124a151478b766db5cea94ad6b07c15203fcc6 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 19 Apr 2003 12:09:36 +0000 Subject: [PATCH] - just skip the frame when there was a decoding error instead of failing. Original commit message from CVS: - just skip the frame when there was a decoding error instead of failing. --- common | 2 +- ext/ffmpeg/gstffmpegall.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/common b/common index 50879a6..ed42933 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 50879a63c4fa8f2544d4d89a9dbfa0f5720c3266 +Subproject commit ed429334bba35b10172ba97d9b3795b75a65b388 diff --git a/ext/ffmpeg/gstffmpegall.c b/ext/ffmpeg/gstffmpegall.c index 1fda70f..297d12e 100644 --- a/ext/ffmpeg/gstffmpegall.c +++ b/ext/ffmpeg/gstffmpegall.c @@ -334,8 +334,7 @@ gst_ffmpegdecall_chain (GstPad *pad, GstBuffer *inbuf) &have_picture, data, size); if (len < 0) { - gst_element_error(GST_ELEMENT(ffmpegdec), - "ffmpegdec: failed to decode frame"); + g_warning ("ffmpegdec: failed to decode frame"); break; } -- 2.7.4