mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
test-record: Set latency for playback-style example to 2s instead of 200ms
This commit is contained in:
parent
6e5b156b0d
commit
aa1feab874
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue