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:
bcc9021
)
playbin: Reset suburi also when receiving an error message from the sub uridecodebin
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 22 Jun 2015 12:51:07 +0000
(14:51 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 22 Jun 2015 12:51:07 +0000
(14:51 +0200)
http://bugzilla.gnome.org/show_bug.cgi?id=751118
gst/playback/gstplaybin2.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstplaybin2.c
b/gst/playback/gstplaybin2.c
index
01378df
..
9100da5
100644
(file)
--- a/
gst/playback/gstplaybin2.c
+++ b/
gst/playback/gstplaybin2.c
@@
-2987,6
+2987,11
@@
gst_play_bin_handle_message (GstBin * bin, GstMessage * msg)
gst_bin_remove (bin, group->suburidecodebin);
gst_element_set_locked_state (group->suburidecodebin, FALSE);
+ GST_SOURCE_GROUP_LOCK (group);
+ g_free (group->suburi);
+ group->suburi = NULL;
+ GST_SOURCE_GROUP_UNLOCK (group);
+
if (group->sub_pending) {
group->sub_pending = FALSE;
no_more_pads_cb (NULL, group);