Commit graph

13 commits

Author SHA1 Message Date
Nirbheek Chauhan 6e01d03d90 benchmarks: Fix potential stack corruption in capsnego test
flavour_str is a non-const pointer that will be written to if the -f
option is passed
2016-07-11 14:18:21 +01:00
Vineeth TM 215cfcf993 gstreamer: 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=753851
2015-10-02 17:31:11 +03:00
Tim-Philipp Müller 4620048e01 benchmarks: capsnego: add --loops command line option
And default to 50 loops.
2014-06-21 01:10:22 +01:00
Tim-Philipp Müller 4e12c4528f benchmark: capsnego: use GOptionContext for option parsing 2014-06-21 01:10:22 +01:00
Tim-Philipp Müller 666c8c11c6 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 20:44:48 +00:00
Wim Taymans 3abc720345 docs: fix some docs
from git grep for ffmpegcolorspace and x-raw-
2012-09-13 11:35:41 +02:00
Piotr Fusik 14f5518f3d docs, gst: typo fixes
https://bugzilla.gnome.org/show_bug.cgi?id=658449
2011-09-07 18:03:17 +01:00
Stefan Kost dbe8e5d1ad benchmark: handle errors from the pipeline
Catch errors and warnings on the bus. This fixes hanging pipelines in the case
of bugs elsewhere. Also print state-change messages to give more detail on the progress.
2010-08-05 10:31:50 +03:00
Stefan Kost ced3d517eb benchmark: cleanup last change in capsnego benchmark
A pad name is not a factory name.
2010-08-05 10:31:35 +03:00
Edward Hervey 83f6185707 benchmarks: Use gst_element_link_pads_full
We're testing caps negotiation, not pad linking. Brings the startup
time down 100 fold.
2010-06-25 17:51:49 +02:00
Stefan Kost 94ed3c370a capsnego: also meassure pipeline building time 2010-06-06 21:20:21 +03:00
Stefan Kost 5e1a7d9360 benchmark: add commandline parameters for capsnego
Allow to specify the graph size and offer two flavours (audio/video).
2010-05-19 14:11:56 +03:00
Stefan Kost da46035638 benchmarks: add a benchmark for capsnegotiation
The test builds a tree like graph having conversion and basetransform elements.
2010-05-19 09:59:31 +03:00