mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +00:00
examples: make test-launch pipeline shared by default as well
This commit is contained in:
parent
eb1ee7e28d
commit
3dcd77a21c
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ main (int argc, char *argv[])
|
||||||
* element with pay%d names will be a stream */
|
* element with pay%d names will be a stream */
|
||||||
factory = gst_rtsp_media_factory_new ();
|
factory = gst_rtsp_media_factory_new ();
|
||||||
gst_rtsp_media_factory_set_launch (factory, argv[1]);
|
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 */
|
/* attach the test factory to the /test url */
|
||||||
gst_rtsp_mount_points_add_factory (mounts, "/test", factory);
|
gst_rtsp_mount_points_add_factory (mounts, "/test", factory);
|
||||||
|
|
Loading…
Reference in a new issue