mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
decodebin2: add some debugging
This commit is contained in:
parent
8b4f6dd43b
commit
8266d201a0
1 changed files with 6 additions and 1 deletions
|
@ -2965,8 +2965,10 @@ gst_decode_bin_expose (GstDecodeBin * dbin)
|
||||||
for (tmp = endpads; tmp; tmp = tmp->next) {
|
for (tmp = endpads; tmp; tmp = tmp->next) {
|
||||||
GstDecodePad *dpad = tmp->data;
|
GstDecodePad *dpad = tmp->data;
|
||||||
|
|
||||||
if (dpad->exposed)
|
if (dpad->exposed) {
|
||||||
|
GST_DEBUG_OBJECT (dpad, "blocking exposed pad");
|
||||||
gst_decode_pad_set_blocked (dpad, TRUE);
|
gst_decode_pad_set_blocked (dpad, TRUE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* re-order pads : video, then audio, then others */
|
/* re-order pads : video, then audio, then others */
|
||||||
|
@ -3155,6 +3157,9 @@ gst_decode_pad_set_blocked (GstDecodePad * dpad, gboolean blocked)
|
||||||
GstPad *opad;
|
GstPad *opad;
|
||||||
|
|
||||||
DYN_LOCK (dbin);
|
DYN_LOCK (dbin);
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT (dpad, "blocking pad: %d", blocked);
|
||||||
|
|
||||||
opad = gst_ghost_pad_get_target (GST_GHOST_PAD_CAST (dpad));
|
opad = gst_ghost_pad_get_target (GST_GHOST_PAD_CAST (dpad));
|
||||||
if (!opad)
|
if (!opad)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Reference in a new issue