From ceb26dd93d799887e2edd35db04a0c5941bd5055 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Thu, 26 Mar 2015 23:53:44 -0300 Subject: [PATCH] decodebin: improve debug message by printing the object Print the pad object that EOS'd too early --- gst/playback/gstdecodebin2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index 9973ecf254..dc61d8998a 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -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;