From: Sebastian Dröge Date: Wed, 28 Jan 2015 16:49:16 +0000 (+0100) Subject: test-record: Set latency for playback-style example to 2s instead of 200ms X-Git-Tag: 1.6.0~88 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa1feab8740ac305cbcfe8655590b5d8fad63572;p=platform%2Fupstream%2Fgst-rtsp-server.git test-record: Set latency for playback-style example to 2s instead of 200ms --- diff --git a/examples/test-record.c b/examples/test-record.c index 85d6f83..86dcf6e 100644 --- a/examples/test-record.c +++ b/examples/test-record.c @@ -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);