mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gdkpixbufdec: EOS and NOT_LINKED are no errors in general
Don't post an error message for them but let upstream handle anything accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=735564
This commit is contained in:
parent
a7a3cb343a
commit
0509e86b43
1 changed files with 4 additions and 3 deletions
|
@ -410,9 +410,10 @@ gst_gdk_pixbuf_dec_sink_event (GstPad * pad, GstObject * parent,
|
||||||
/* as long as we don't have flow returns for event functions we need
|
/* as long as we don't have flow returns for event functions we need
|
||||||
* to post an error here, or the application might never know that
|
* to post an error here, or the application might never know that
|
||||||
* things failed */
|
* things failed */
|
||||||
if (res != GST_FLOW_OK && res != GST_FLOW_FLUSHING) {
|
if (res != GST_FLOW_OK && res != GST_FLOW_FLUSHING
|
||||||
GST_ELEMENT_ERROR (pixbuf, STREAM, FAILED, (NULL),
|
&& res != GST_FLOW_EOS && res != GST_FLOW_NOT_LINKED) {
|
||||||
("Flow: %s", gst_flow_get_name (res)));
|
GST_ELEMENT_ERROR (pixbuf, STREAM, FAILED, (NULL), ("Flow: %s",
|
||||||
|
gst_flow_get_name (res)));
|
||||||
forward = FALSE;
|
forward = FALSE;
|
||||||
ret = FALSE;
|
ret = FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue