Commit graph

10 commits

Author SHA1 Message Date
Tim-Philipp Müller
3dcd77a21c examples: make test-launch pipeline shared by default as well 2017-03-27 18:19:33 +01:00
Vineeth TM
6d20a1c9d9 rtsp-server: Fix memory leaks when context parse fails
When g_option_context_parse fails, context and error variables are not getting free'd
which results in memory leaks. Free'ing the same.

And replacing g_error_free with g_clear_error, which checks if the error being passed
is not NULL and sets the variable to NULL on free'ing.

https://bugzilla.gnome.org/show_bug.cgi?id=753863
2015-09-26 09:35:17 +01:00
Sebastian Dröge
634abb9906 examples: Don't call gst_init() and gst_get_option_group()
The latter calls the former at the appropriate time.
2015-01-17 10:30:21 +01:00
Nirbheek Chauhan
e0d3807cbb examples: Add command-line parsing and take a 'port' argument
This allows users to run multiple servers on different ports for testing.

Only done for examples that actually take arguments and hence are capable of
outputting different streams for each instance on each port.

https://bugzilla.gnome.org/show_bug.cgi?id=742115
2014-12-30 16:04:14 +00:00
Wim Taymans
1d53c46d23 MediaMapping -> MountPoints
Describes better what the object manages.
2012-11-26 12:37:55 +01:00
Wim Taymans
9387c4b451 examples: fix whitespace 2012-11-21 16:41:37 +01:00
Tim-Philipp Müller
4dba434f16 Fix FSF address 2012-11-04 00:14:25 +00:00
Stefan Sauer
40c7bb6386 examples: tell rtsp uri when ready 2011-07-19 16:13:16 +02:00
Edward Hervey
150f64892f examples: Run gst-indent 2010-12-11 10:49:30 +01:00
Wim Taymans
da6f337745 Add example server that takes launch lines
Add an example server that streams any -launch line.
2009-03-11 16:39:20 +01:00