projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e84acc
)
decodebin2: activate ghost pad before targetting
author
Wim Taymans
<wtaymans@redhat.com>
Thu, 28 Nov 2013 10:25:20 +0000
(11:25 +0100)
committer
Wim Taymans
<wtaymans@redhat.com>
Thu, 28 Nov 2013 10:27:23 +0000
(11:27 +0100)
Activate the decodebin2 pad before setting the target. This makes sure
that the events are copied.
gst/playback/gstdecodebin2.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstdecodebin2.c
b/gst/playback/gstdecodebin2.c
index
a723967
..
75bb19e
100644
(file)
--- a/
gst/playback/gstdecodebin2.c
+++ b/
gst/playback/gstdecodebin2.c
@@
-1491,6
+1491,7
@@
analyze_new_pad (GstDecodeBin * dbin, GstElement * src, GstPad * pad,
chain->current_pad = gst_decode_pad_new (dbin, chain);
dpad = gst_object_ref (chain->current_pad);
+ gst_pad_set_active (GST_PAD_CAST (dpad), TRUE);
gst_ghost_pad_set_target (GST_GHOST_PAD_CAST (dpad), pad);
/* 1. Emit 'autoplug-continue' the result will tell us if this pads needs