mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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.
This commit is contained in:
parent
aa1c48dbd4
commit
b3c5184b6f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-11-29 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* ext/libpng/gstpngdec.c: (gst_pngdec_task):
|
||||
Post error before sending EOS. Fixes #499178.
|
||||
|
||||
2007-11-28 Sebastien Moutte <sebastien@moutte.net>
|
||||
|
||||
* win32/vs6/gst_plugins_good.dsw:
|
||||
|
|
|
@ -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 ());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue