summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-03-27 18:19:33 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-03-27 18:19:33 +0100
commit3dcd77a21c7e20a71347242caae2129644685987 (patch)
tree1ea5f37c4ba9c27fa3114df7146cf4c463c846bb
parenteb1ee7e28d4838aa653426ffabd76fad9aeb3c98 (diff)
examples: make test-launch pipeline shared by default as well
-rw-r--r--examples/test-launch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/test-launch.c b/examples/test-launch.c
index 03bcd41..1675591 100644
--- a/examples/test-launch.c
+++ b/examples/test-launch.c
@@ -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);