[MOVED FROM GST-P-FARSIGHT] Print debug message if we return non-ok from chain

20080502191004-3e2dc-f1f7237c06c1158cf27e29d32a69de06f7112506.gz
This commit is contained in:
Olivier Crete 2008-05-02 19:10:04 +00:00 committed by Edward Hervey
parent 8a2f376f04
commit 263a914b08

View 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;
}