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
@ -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…
x
Reference in New Issue
Block a user