mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
playsink: Fix visualizations if no visualization plugin was set
https://bugzilla.gnome.org/show_bug.cgi?id=712280
This commit is contained in:
parent
81471099d2
commit
0e9806a03e
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue