Commit graph

7 commits

Author SHA1 Message Date
Vineeth TM
8e5f7f27f5 gstreamer: base: 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=753852
2015-10-02 17:26:27 +03:00
Sebastian Dröge
230307f842 Revert "test-effect-switch: Change one of the pad blocks to and idle probe"
This reverts commit 40fe5dcc84.

Using an idle probe here is not ideal because we'll send an EOS event
from the application thread... which might block for quite some time.
Go back to a block probe.
2013-12-31 09:37:36 +01:00
Sebastian Dröge
eff2119e6a test-effect-switch: Don't put two format fields into the first capsfilter 2013-12-30 19:40:29 +01:00
Sebastian Dröge
40fe5dcc84 test-effect-switch: Change one of the pad blocks to and idle probe
Just because we can.
2013-12-30 19:13:37 +01:00
Tim-Philipp Müller
5f59b4f7ee Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Wim Taymans
7b6d465586 tests: fix test-effect-switch
Make it into an example of how to dynamically change an element
in a playing pipeline using pad blocking.
2012-10-05 11:03:19 +02:00
Tim-Philipp Müller
1046936be5 tests: add test for switching video effects at run time
Bases on test app in bug #614296. Doesn't work reliably yet,
leads to not-negotiated errors sooner or later, even when
it's the same element being re-plugged.
2012-06-30 18:40:20 +01:00