Commit graph

14 commits

Author SHA1 Message Date
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
Luis de Bethencourt d92ff17026 examples: test-uri: fix tainted variable
Insignificant but this keeps Coverity happy.

CID #1268404
2015-03-03 13:53:11 +00:00
Tim-Philipp Müller 6dbffce319 examples: test-uri: improve uri argument handling and accept file names
Print an error if the argument passed is not a URI and can't
be converted into one, or no arguments have been provided.
2015-02-06 19:34:17 +00:00
Tim-Philipp Müller a862d632b7 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.
2015-02-06 19:16:32 +00: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 922a786519 examples: fix include 2012-11-28 11:40:33 +01:00
Wim Taymans 1d53c46d23 MediaMapping -> MountPoints
Describes better what the object manages.
2012-11-26 12:37:55 +01:00
Wim Taymans 1023b60959 test-uri: remove mapping example 2012-11-20 12:47:49 +01:00
Wim Taymans f494eec5e7 test-uri: fix callback signature 2012-11-20 12:47:20 +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
Wim Taymans 5227832132 examples: add some more options and comments 2011-01-07 11:27:57 +01:00
Wim Taymans 8585dda467 example: add example of the uri factory 2010-12-11 18:06:26 +01:00