examples: make test-launch pipeline shared by default as well

This commit is contained in:
Tim-Philipp Müller 2017-03-27 18:19:33 +01:00
parent eb1ee7e28d
commit 3dcd77a21c

View file

@ -69,6 +69,7 @@ main (int argc, char *argv[])
* element with pay%d names will be a stream */
factory = gst_rtsp_media_factory_new ();
gst_rtsp_media_factory_set_launch (factory, argv[1]);
gst_rtsp_media_factory_set_shared (factory, TRUE);
/* attach the test factory to the /test url */
gst_rtsp_mount_points_add_factory (mounts, "/test", factory);