decodebin: improve debug message by printing the object

Print the pad object that EOS'd too early
This commit is contained in:
Thiago Santos 2015-03-26 23:53:44 -03:00
parent 992101f82a
commit ceb26dd93d

View file

@ -2805,7 +2805,7 @@ pad_event_cb (GstPad * pad, GstPadProbeInfo * info, gpointer data)
g_assert (dbin);
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_EOS:
GST_DEBUG_OBJECT (dbin, "Received EOS on a non final pad, this stream "
GST_DEBUG_OBJECT (pad, "Received EOS on a non final pad, this stream "
"ended too early");
chain->deadend = TRUE;
chain->drained = TRUE;