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:
8147109
)
playsink: Fix visualizations if no visualization plugin was set
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 26 Nov 2013 11:03:24 +0000
(12:03 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 26 Nov 2013 11:03:24 +0000
(12:03 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=712280
gst/playback/gstplaysink.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstplaysink.c
b/gst/playback/gstplaysink.c
index d192443befc01c34884f2aaa11add4eeb5a7470c..2154fd2c5bce2af9d73f05c372c35ebd79b068f6 100644
(file)
--- a/
gst/playback/gstplaysink.c
+++ b/
gst/playback/gstplaysink.c
@@
-2842,6
+2842,8
@@
gen_vis_chain (GstPlaySink * playsink)
GST_DEBUG_OBJECT (playsink, "trying goom");
elem = gst_element_factory_make ("goom", "vis");
chain->vis = try_element (playsink, elem, TRUE);
+ gst_object_replace ((GstObject **) & playsink->visualisation,
+ (GstObject *) elem);
}
if (chain->vis == NULL)
goto no_goom;