test-netclock-client: Use ntp-sync=TRUE and buffer-mode=SYNC for proper synchronization
authorSebastian Dröge <sebastian@centricular.com>
Wed, 10 Jun 2015 15:14:18 +0000 (17:14 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 10 Jun 2015 15:14:44 +0000 (17:14 +0200)
examples/test-netclock-client.c

index c6c9812..c6ea9b6 100644 (file)
@@ -29,7 +29,7 @@ static void
 source_created (GstElement * pipe, GstElement * source)
 {
   g_object_set (source, "latency", PLAYBACK_DELAY_MS,
-      "use-pipeline-clock", TRUE, "buffer-mode", 1, NULL);
+      "use-pipeline-clock", TRUE, "buffer-mode", 4, "ntp-sync", TRUE, NULL);
 }
 
 static gboolean