diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-01-28 17:49:16 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-02-06 09:42:50 +0100 |
commit | aa1feab8740ac305cbcfe8655590b5d8fad63572 (patch) | |
tree | c3a1f3eeed09562946a3216c76a9fb69cc6c61e0 /examples | |
parent | 6e5b156b0d5dcf1c9c407fdb06914ad92f01e846 (diff) |
test-record: Set latency for playback-style example to 2s instead of 200ms
Diffstat (limited to 'examples')
-rw-r--r-- | examples/test-record.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |