basesink: print flow return as a name in debug log

This commit is contained in:
Stefan Kost 2011-03-23 16:42:24 +02:00
parent 3e475c4d33
commit 71dcd52cc0

View file

@ -2343,7 +2343,7 @@ gst_base_sink_do_preroll (GstBaseSink * sink, GstMiniObject * obj)
/* ERRORS */
preroll_failed:
{
GST_DEBUG_OBJECT (sink, "preroll failed %d", ret);
GST_DEBUG_OBJECT (sink, "preroll failed: %s", gst_flow_get_name (ret));
return ret;
}
}