From: Wim Taymans Date: Thu, 29 Nov 2007 10:34:18 +0000 (+0000) Subject: ext/libpng/gstpngdec.c: Post error before sending EOS. Fixes #499178. X-Git-Tag: RELEASE-0_10_7~160 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3c5184b6f8310e1a7733f3f31fa5c64fba78f1e;p=platform%2Fupstream%2Fgst-plugins-good.git ext/libpng/gstpngdec.c: Post error before sending EOS. Fixes #499178. Original commit message from CVS: * ext/libpng/gstpngdec.c: (gst_pngdec_task): Post error before sending EOS. Fixes #499178. --- diff --git a/ChangeLog b/ChangeLog index 4d93ad6d9..7956cec30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-29 Wim Taymans + + * ext/libpng/gstpngdec.c: (gst_pngdec_task): + Post error before sending EOS. Fixes #499178. + 2007-11-28 Sebastien Moutte * win32/vs6/gst_plugins_good.dsw: diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c index f6655ebd7..e01c13c17 100644 --- a/ext/libpng/gstpngdec.c +++ b/ext/libpng/gstpngdec.c @@ -514,10 +514,10 @@ pause: GST_INFO_OBJECT (pngdec, "pausing task, reason %s", gst_flow_get_name (ret)); gst_pad_pause_task (pngdec->sinkpad); if (GST_FLOW_IS_FATAL (ret) || ret == GST_FLOW_NOT_LINKED) { - gst_pad_push_event (pngdec->srcpad, gst_event_new_eos ()); GST_ELEMENT_ERROR (pngdec, STREAM, FAILED, (_("Internal data stream error.")), ("stream stopped, reason %s", gst_flow_get_name (ret))); + gst_pad_push_event (pngdec->srcpad, gst_event_new_eos ()); } }