diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2015-02-06 19:15:40 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-02-06 19:16:32 +0000 |
commit | a862d632b72effc85f0be6a068f1e4bfb8765418 (patch) | |
tree | cbfefc14499794363950a2c37b26c51c266b71df /examples | |
parent | 5377dd2b78c230c7c2a8956334d4bd2a71b84bdd (diff) | |
download | gstreamer-a862d632b72effc85f0be6a068f1e4bfb8765418.tar.gz |
examples: test-uri: don't remove mount point after 10 seconds
It's very irritating when trying to test stuff repeatedly
and serves no real purpose other than showing that it can
be done.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/test-uri.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/test-uri.c b/examples/test-uri.c index a5a3399a0b..7bcb041c9c 100644 --- a/examples/test-uri.c +++ b/examples/test-uri.c @@ -45,6 +45,7 @@ timeout (GstRTSPServer * server) return TRUE; } +#if 0 static gboolean remove_map (GstRTSPServer * server) { @@ -57,6 +58,7 @@ remove_map (GstRTSPServer * server) return FALSE; } +#endif int main (int argc, char *argv[]) @@ -110,9 +112,12 @@ main (int argc, char *argv[]) /* do session cleanup every 2 seconds */ g_timeout_add_seconds (2, (GSourceFunc) timeout, server); - /* remove the mount point after 10 seconds, new clients won't be able to use the - * /test url anymore */ + +#if 0 + /* remove the mount point after 10 seconds, new clients won't be able to use + * the /test url anymore */ g_timeout_add_seconds (10, (GSourceFunc) remove_map, server); +#endif /* start serving */ g_print ("stream ready at rtsp://127.0.0.1:%s/test\n", port); |