make audio background-sources output silence

This commit is contained in:
Brandon Lewis 2010-06-11 17:02:55 +02:00 committed by Edward Hervey
parent 440242810c
commit d48c10c026

View file

@ -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 *