test-record: Set latency for playback-style example to 2s instead of 200ms

This commit is contained in:
Sebastian Dröge 2015-01-28 17:49:16 +01:00
parent 6e5b156b0d
commit aa1feab874

View 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);