mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
basetransform: Return FLOW_FLUSHING if negotiation fails during shutdown
https://bugzilla.gnome.org/show_bug.cgi?id=752800
This commit is contained in:
parent
815b5f69e8
commit
5e5a14028a
1 changed files with 2 additions and 0 deletions
|
@ -2117,6 +2117,8 @@ skip:
|
|||
not_negotiated:
|
||||
{
|
||||
gst_buffer_unref (inbuf);
|
||||
if (GST_PAD_IS_FLUSHING (trans->srcpad))
|
||||
return GST_FLOW_FLUSHING;
|
||||
GST_ELEMENT_WARNING (trans, STREAM, FORMAT,
|
||||
("not negotiated"), ("not negotiated"));
|
||||
return GST_FLOW_NOT_NEGOTIATED;
|
||||
|
|
Loading…
Reference in a new issue