mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
playsink: missing guard around gst pad add probe
This miss prevent from switching from one track to the other. Issue encountered with rhythmbox and totem ports.
This commit is contained in:
parent
a4eda89b3c
commit
7e054c9af0
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
|
||||
|
|
Loading…
Reference in a new issue