summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 03bcd410aa..1675591bae 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);