Vineeth TM 8c9ca808af gstreamer: bad: 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=753854
2015-10-02 17:24:35 +03:00
..
2014-04-29 16:40:08 +10:00
2014-04-29 16:40:08 +10:00
2014-04-29 16:40:08 +10:00

--- Description of the GTK examples ---

- gtkvideooverlay:
Show how to use the videooverlay interface through GTK.
It's possible to switch bettween GST_STATE through four buttons.

-filternovideooverlay:
A more complex pipeline is switched bettween the GST states
without using the videooverlay interface.

-filtervideooverlay:
A more complex pipeline is switched bettween the GST states.
using the videooverlay interface.

-fxtest:
switch bettween effects of the gleffects filter.

-pixbufdrop:
drag and drop a png file and overlay it using alpha channel.
It uses gloverlay filter.

-switchvideooverlay:
change the videooverlay window while the stream is playing.

--- How to build the GTK examples ---

Using autotools or using tests/examples/gtk/gtk.sln