[MOVED FROM GST-P-FARSIGHT] Print debug message if we return non-ok from chain
authorOlivier Crete <olivier.crete@collabora.co.uk>
Fri, 2 May 2008 19:10:04 +0000 (19:10 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 17 Feb 2009 18:29:05 +0000 (19:29 +0100)
20080502191004-3e2dc-f1f7237c06c1158cf27e29d32a69de06f7112506.gz

gst/liveadder/liveadder.c

index 4dd96d9fdabb9f4f768af6cd734d2a5880469a71..e5c00b907d04a728eab69172348778d5a5bd94bd 100644 (file)
@@ -782,6 +782,8 @@ gst_live_live_adder_chain (GstPad *pad, GstBuffer *buffer)
 
   if (ret != GST_FLOW_OK)
   {
+    GST_DEBUG_OBJECT (adder, "Passing non-ok result from src: %s",
+        gst_flow_get_name (ret));
     gst_buffer_unref (buffer);
     goto out;
   }