test-record: Set latency for playback-style example to 2s instead of 200ms
authorSebastian Dröge <sebastian@centricular.com>
Wed, 28 Jan 2015 16:49:16 +0000 (17:49 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 6 Feb 2015 08:42:50 +0000 (09:42 +0100)
examples/test-record.c

index 85d6f83..86dcf6e 100644 (file)
@@ -69,6 +69,7 @@ main (int argc, char *argv[])
   factory = gst_rtsp_media_factory_new ();
   gst_rtsp_media_factory_set_record (factory, TRUE);
   gst_rtsp_media_factory_set_launch (factory, argv[1]);
+  gst_rtsp_media_factory_set_latency (factory, 2000);
 
   /* attach the test factory to the /test url */
   gst_rtsp_mount_points_add_factory (mounts, "/test", factory);