mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 22:46:24 +00:00
teletextdec: don't try to push an event on a pad that returned an error
https://bugzilla.gnome.org/show_bug.cgi?id=619739
This commit is contained in:
parent
8bb6ff414f
commit
afd240c621
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ error:
|
||||||
GST_ELEMENT_ERROR (teletext, STREAM, FAILED,
|
GST_ELEMENT_ERROR (teletext, STREAM, FAILED,
|
||||||
("Internal data stream error."),
|
("Internal data stream error."),
|
||||||
("stream stopped, reason %s", gst_flow_get_name (ret)));
|
("stream stopped, reason %s", gst_flow_get_name (ret)));
|
||||||
gst_pad_push_event (teletext->srcpad, gst_event_new_eos ());
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue