diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-11-29 10:34:18 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-11-29 10:34:18 +0000 |
commit | b3c5184b6f8310e1a7733f3f31fa5c64fba78f1e (patch) | |
tree | 8edcb6cf82993dc8c7ef9802773fd32676cc4dfa /ext/libpng/gstpngdec.c | |
parent | aa1c48dbd44d8d6c4b2deee1ff72c96264b8e3de (diff) |
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.
Diffstat (limited to 'ext/libpng/gstpngdec.c')
-rw-r--r-- | ext/libpng/gstpngdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c index f6655ebd..e01c13c1 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 ()); } } |