tests/examples/playlist.c: make audio stream of audiotestsrc silent (it's much
authorBrandon Lewis <brandon.lewis@collabora.co.uk>
Thu, 27 May 2010 22:19:24 +0000 (00:19 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 9 Jun 2010 09:28:09 +0000 (11:28 +0200)
less annoying).

tests/examples/playlist.c

index 9a166923d59a23679826a282ad045f88603cf36f..14bb4d24d031830ceb1ae004e9be97138ee153a6 100644 (file)
@@ -84,7 +84,7 @@ pattern_source_fill_func (GESTimelineObject * object,
     g_object_set (testsrc, "pattern", pattern, NULL);
   } else if ((track->type) == GES_TRACK_TYPE_AUDIO) {
     testsrc = gst_element_factory_make ("audiotestsrc", NULL);
-    g_object_set (testsrc, "freq", 440.0, NULL);
+    g_object_set (testsrc, "volume", (gdouble) 0, NULL);
   } else
     return FALSE;