basetransform: Return FLOW_FLUSHING if negotiation fails during shutdown

https://bugzilla.gnome.org/show_bug.cgi?id=752800
This commit is contained in:
Olivier Crête 2015-07-23 18:15:05 -04:00
parent 815b5f69e8
commit 5e5a14028a

View file

@ -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;