deinterleave; downgrade caps change failure debug message
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 3 Jul 2012 18:38:39 +0000 (19:38 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 3 Jul 2012 18:44:26 +0000 (19:44 +0100)
Add some more info and downgrade to warning, so
it doesn't look like the unit test failed.

gst/interleave/deinterleave.c

index 2ca78af..9336157 100644 (file)
@@ -409,7 +409,9 @@ gst_deinterleave_sink_setcaps (GstDeinterleave * self, GstCaps * caps)
 
 cannot_change_caps:
   {
-    GST_ERROR_OBJECT (self, "can't set new caps: %" GST_PTR_FORMAT, caps);
+    GST_WARNING_OBJECT (self, "caps change from %" GST_PTR_FORMAT
+        " to %" GST_PTR_FORMAT " not supported: channel number or channel "
+        "positions change", self->sinkcaps, caps);
     return FALSE;
   }
 unsupported_caps: