diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-12-16 11:43:27 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-12-16 11:44:11 +0100 |
commit | 8266d201a0dda60c7be61e1865d6da55d7bebbd6 (patch) | |
tree | 8741ffa5e808813c27d22e0bc1fd8175253bb1b6 | |
parent | 8b4f6dd43bf13d286f11f532033ac46aec33b13b (diff) |
decodebin2: add some debugging
-rw-r--r-- | gst/playback/gstdecodebin2.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index 6f8db2e9..09b59b1d 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -2965,8 +2965,10 @@ gst_decode_bin_expose (GstDecodeBin * dbin) for (tmp = endpads; tmp; tmp = tmp->next) { GstDecodePad *dpad = tmp->data; - if (dpad->exposed) + if (dpad->exposed) { + GST_DEBUG_OBJECT (dpad, "blocking exposed pad"); gst_decode_pad_set_blocked (dpad, TRUE); + } } /* re-order pads : video, then audio, then others */ @@ -3155,6 +3157,9 @@ gst_decode_pad_set_blocked (GstDecodePad * dpad, gboolean blocked) GstPad *opad; DYN_LOCK (dbin); + + GST_DEBUG_OBJECT (dpad, "blocking pad: %d", blocked); + opad = gst_ghost_pad_get_target (GST_GHOST_PAD_CAST (dpad)); if (!opad) goto out; |