projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4eda89
)
playsink: missing guard around gst pad add probe
author
Alban Browaeys
<prahal@yahoo.com>
Mon, 14 May 2012 18:08:38 +0000
(20:08 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Tue, 15 May 2012 07:22:12 +0000
(09:22 +0200)
This miss prevent from switching from one track to the other.
Issue encountered with rhythmbox and totem ports.
gst/playback/gstplaysink.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstplaysink.c
b/gst/playback/gstplaysink.c
index bd66def188402593462d4fc8321549845e8b403a..bd60120a8e4997df8fbb3fe0d924affcb60cd132 100644
(file)
--- a/
gst/playback/gstplaysink.c
+++ b/
gst/playback/gstplaysink.c
@@
-3532,7
+3532,7
@@
gst_play_sink_refresh_pad (GstPlaySink * playsink, GstPad * pad,
block_id = &playsink->text_block_id;
}
- if (type != GST_PLAY_SINK_TYPE_FLUSHING) {
+ if (type != GST_PLAY_SINK_TYPE_FLUSHING
&& (block_id && *block_id == 0)
) {
GstPad *blockpad =
GST_PAD_CAST (gst_proxy_pad_get_internal (GST_PROXY_PAD (pad)));