basetransform: do not error on not-negotiated
authorThiago Santos <thiago.sousa.santos@collabora.com>
Sat, 4 Aug 2012 14:48:52 +0000 (11:48 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 10 Aug 2012 16:58:02 +0000 (13:58 -0300)
Don't error out too early and let upstream decide if it can
workaround a not-negotiated problem

https://bugzilla.gnome.org/show_bug.cgi?id=681198

libs/gst/base/gstbasetransform.c

index 81bf956..3a8664d 100644 (file)
@@ -2064,7 +2064,7 @@ not_negotiated:
   {
     gst_buffer_unref (inbuf);
     *outbuf = NULL;
-    GST_ELEMENT_ERROR (trans, STREAM, FORMAT,
+    GST_ELEMENT_WARNING (trans, STREAM, FORMAT,
         ("not negotiated"), ("not negotiated"));
     return GST_FLOW_NOT_NEGOTIATED;
   }