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:
b6cbe7e
)
Unref source in playbin2's finalize method
author
Michael Smith
<msmith@songbirdnest.com>
Fri, 30 Jan 2009 23:23:23 +0000
(15:23 -0800)
committer
Michael Smith
<msmith@songbirdnest.com>
Sat, 31 Jan 2009 02:30:10 +0000
(18:30 -0800)
gst/playback/gstplaybin2.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstplaybin2.c
b/gst/playback/gstplaybin2.c
index df9ded6c1914ba470b1fe21984e8494b69e241fb..1e1f31a713f9c216b57fc98f000bb17202830975 100644
(file)
--- a/
gst/playback/gstplaybin2.c
+++ b/
gst/playback/gstplaybin2.c
@@
-1002,6
+1002,9
@@
gst_play_bin_finalize (GObject * object)
free_group (playbin, &playbin->groups[0]);
free_group (playbin, &playbin->groups[1]);
+ if (playbin->source)
+ gst_object_unref (playbin->source);
+
g_value_array_free (playbin->elements);
g_free (playbin->encoding);
g_mutex_free (playbin->lock);