mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
make audio background-sources output silence
This commit is contained in:
parent
440242810c
commit
d48c10c026
1 changed files with 4 additions and 1 deletions
|
@ -105,7 +105,10 @@ ges_track_abg_src_set_property (GObject * object,
|
|||
static GstElement *
|
||||
ges_track_abg_src_create_element (GESTrackBackgroundSource * self)
|
||||
{
|
||||
return gst_element_factory_make ("audiotestsrc", NULL);
|
||||
GstElement *ret;
|
||||
ret = gst_element_factory_make ("audiotestsrc", NULL);
|
||||
g_object_set (ret, "volume", (gdouble) 0, NULL);
|
||||
return ret;
|
||||
}
|
||||
|
||||
GESTrackAudioBackgroundSource *
|
||||
|
|
Loading…
Reference in a new issue