summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2016-11-11meson: tools: generate the targets dynamicallyAntonio Ospite1-21/+12
The three targets are the same except for input and output files, use a loop and generate them dynamically. https://bugzilla.gnome.org/show_bug.cgi?id=773917
2016-11-11tools: don't mention gst-feedback in man pagesAntonio Ospite2-2/+0
gst-feedback no longer exists. https://bugzilla.gnome.org/show_bug.cgi?id=773917
2016-11-11tools: put the examples descriptions before the commands in man pageAntonio Ospite1-57/+55
Put the description of the example command lines before the command instead of after them. The new way is more intuitive. https://bugzilla.gnome.org/show_bug.cgi?id=773917
2016-11-11tools: don't start lines with single quotes in man pageAntonio Ospite1-2/+2
When a line starts with a single quote it's treated in a special way by man, which may result in paragraphs of the man page not rendered by the man pager, so just avoid that. A possible solution could have been to escape the singe quote with a \(cq sequence but this is rather unreadable, instead the text has been reformatted to have the problematic quoted 'ppc' string on the previous line. https://bugzilla.gnome.org/show_bug.cgi?id=773917
2016-11-11tools: escape dashes in the man pagesAntonio Ospite3-15/+15
The portable way to have the dashes to be rendered as ASCII minuses is to use the sequence backslash-dash, use this style at least for text that can be copied and pasted (e.g. command names, file names, element options). Also use backslash-dash in the NAME section as suggested by lexgrog(1). https://bugzilla.gnome.org/show_bug.cgi?id=773917
2016-11-04tools: gst-launch: fix minor memory leak when failing to parse optionsAntonio Ospite1-1/+1
Commit 215cfcf99338 (gstreamer: Fix memory leaks when context parse fails) fixes some memory leak, but in one of the newly added calls to g_clear_error() the wrong variable was passed. When failing to parse command line options, free the "err" variable, not the "error" one. https://bugzilla.gnome.org/show_bug.cgi?id=773907
2016-11-02parse-launch: Support linking all pads with new operatorJan Schmidt1-0/+5
Introduce a new operator ':' - e.g. element1 ':' element2 For example, 'uridecodebin : encodebin' - if the encodebin has multiple profiles compatible with the decodebin, multiple links will be created. With '!' , after one delayed link is successfully done, the pad-added callback is disconnected. https://bugzilla.gnome.org/show_bug.cgi?id=751450
2016-09-04tools: gst-inspect: add * for pointer signal arguments where neededTim-Philipp Müller1-16/+20
Print GObject argument properly with pointer marker: "client-added" : void user_function (GstElement* object, GObject* arg0, gpointer user_data); instead of "client-added" : void user_function (GstElement* object, GObject arg0, gpointer user_data); for gst-inspect-1.0 tcpserversink.
2016-08-28tools: gst-inspect: don't print internal pad request function nameTim-Philipp Müller1-5/+0
This just confuses people, they look at it and try to call it directly by name, instead of using the public GstElement API. It stands to reason that it goes without saying that when an element provides request pads that they can actually be requested using the standard API, and there's no point in printing internal implementation details of the element.
2016-08-19Add support for Meson as alternative/parallel build systemNirbheek Chauhan1-0/+23
https://github.com/mesonbuild/meson With contributions from: Tim-Philipp Müller <tim@centricular.com> Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> Jussi Pakkanen <jpakkane@gmail.com> (original port) Highlights of the features provided are: * Faster builds on Linux (~40-50% faster) * The ability to build with MSVC on Windows * Generate Visual Studio project files * Generate XCode project files * Much faster builds on Windows (on-par with Linux) * Seriously fast configure and building on embedded ... and many more. For more details see: http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html Building with Meson should work on both Linux and Windows, but may need a few more tweaks on other operating systems.
2016-05-13Update the examples in the gst-launch-1.0 manpageJan Schmidt1-26/+26
Replace elements that don't exist any more with ones that do, and insert elements like mpegaudioparse where they are needed. https://bugzilla.gnome.org/show_bug.cgi?id=727105
2016-05-04inspect: fix feature leakGuillaume Desmottes1-0/+3
https://bugzilla.gnome.org/show_bug.cgi?id=765957
2016-04-13tools: gst-launch: fix up caps printing in verbose modeTim-Philipp Müller1-1/+4
Add missing 'else' and print caps and taglists without the annoying duplicate string escaping, making both nicer to read. Fixes string leak and coverity CID 1358492.
2016-04-08tools: gst-launch: use new async property change notification APITim-Philipp Müller1-3/+41
https://bugzilla.gnome.org/show_bug.cgi?id=763142
2016-01-20tracer/gststats: fix mismatch between '.class' and tracer argsStefan Sauer1-1/+1
Clean up from the recent changes. The logging descriptiors did not match what we logged.
2016-01-18tracers: fix thread-id casts to 64-bit ints on 32-bit systemsTim-Philipp Müller1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=760762
2016-01-16gst-stats: update to latest tarcer apiStefan Sauer1-22/+24
The thread-ids are serialized as uint64. The 'elem-ix' got changed to 'element-ix'. Make the code a bit more robust.
2015-12-04gst-launch: Fix process return value on errorNicolas Dufresne1-0/+1
In case of a run-time error message, the process return value was left unset. This would lead to error not being caught at shell level. https://bugzilla.gnome.org/show_bug.cgi?id=759019
2015-12-04Revert "tools: gst-launch: return non-0 exit code on async error"Nicolas Dufresne1-2/+0
This reverts commit 2ee4cba2485d7f1646d48e4559426aed4ba99c85.
2015-12-04tools: gst-launch: return non-0 exit code on async errorTim-Philipp Müller1-0/+2
When an error happens in playing state, still return a non-0 exit code. https://bugzilla.gnome.org/show_bug.cgi?id=759019
2015-10-21stats: always free logLuis de Bethencourt1-1/+1
We always want to free the open file log if fopen() succeeded. Independently of if fgets() succeeds or fails. CID 1326055 https://bugzilla.gnome.org/show_bug.cgi?id=756864
2015-10-16docs: mention xdot utility to view .dot files directlyTim-Philipp Müller1-1/+2
2015-10-05stats: TIMESTAMP -> PTSStefan Sauer1-3/+3
2015-10-05stats: fix cpu stats printingStefan Sauer1-3/+10
Only print them if we have them. Also scale them by 10.0 as the are in per-mille now.
2015-10-05stats: don't warn on ".class" log linesStefan Sauer1-3/+4
2015-10-05rusage: implement windowing of cpuloadStefan Sauer1-2/+3
Add a local help to the rusage plugin that supports windowing of values. We want to generalize this for use in other plugins.
2015-10-05rusage: announce the data formatStefan Sauer1-21/+22
Rusage will now announce what is meassures and how it is logged. Use the new format in stats. Cleanup the the code and naming.
2015-10-05stats: improve cpu load meassurementsStefan Sauer1-27/+20
Rename variables for clarity. Handle the initial disparity between debug time and the time already spent in the proc and main thread.
2015-10-05gst-stats: use the rusage statsStefan Sauer1-32/+57
Add cpuload info from rusage traces.
2015-10-05gst-stats: filter complete thread section if we have no padsStefan Sauer1-7/+15
2015-10-05stats: improve the handling of parentageStefan Sauer1-4/+8
Log new object after we did the check for parents.
2015-10-05stats: print thread key for stats and filter empty pad-sectionsStefan Sauer1-7/+16
2015-10-05stats: update buffer flagsStefan Sauer1-8/+25
Remove some buffer flags that were leftovers from 0.10 and handle new 1.0 buffer flags.
2015-10-05stats: add a stats frontendStefan Sauer3-0/+840
Parse the log and collect data from tracer messages.
2015-10-05inspect: add support for the new factoryStefan Sauer1-0/+13
Handle tracer modules.
2015-10-05tests/gst-launch: Fix sample memory leakVineeth TM1-0/+1
When sample is got using gst_tag_list_get_sample_index, it should be free'd. https://bugzilla.gnome.org/show_bug.cgi?id=756069
2015-10-02gstreamer: Fix memory leaks when context parse failsVineeth TM3-7/+13
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-09-05tools: gst-launch: fix --exclude command line optionTim-Philipp Müller1-6/+6
This has not worked (as in: crashed) since 2005, so perhaps it should just be removed instead.
2015-06-03gst-indent: Add support for gindent as executable nameVivia Nikolaidou1-10/+11
gst-indent used to support gnuindent and indent as executable names. However, on OSX one can "brew install gnu-indent" and then the executable name will be gindent. Added support for that. https://bugzilla.gnome.org/show_bug.cgi?id=750351
2015-04-26Remove obsolete Android build cruftTim-Philipp Müller1-15/+0
This is not needed any longer.
2015-03-18tools: remove outdated completion scriptMathieu Duponchelle1-192/+0
+ Remove the associated test https://bugzilla.gnome.org/show_bug.cgi?id=744877#c21
2015-01-04gst-inspect: only print presets line if num-presets > 0Stefan Sauer1-1/+1
Also check for an empty strv.
2015-01-04gst-inspect: fix output for -aStefan Sauer1-5/+3
Use n_print to ensure all lines are prefixed with the element name.
2014-12-21gst-inspect: print preset namesStefan Sauer1-0/+20
If the element supports presets and ships some, print them. Fixes #741427
2014-12-01Don't compare booleans for equality to TRUE and FALSESebastian Dröge1-2/+2
TRUE is 1, but every other non-zero value is also considered true. Comparing for equality with TRUE would only consider 1 but not the others. Also normalize booleans in a few places.
2014-11-02gst-inspect: add G_PARAM_DEPRECATED to known flagsAurélien Zanelli1-3/+7
Display 'deprecated' instead of flag value when using G_PARAM_DEPRECATED in element properties. https://bugzilla.gnome.org/show_bug.cgi?id=739518
2014-10-20gst-indent: Run indent twice. Once is not idempotent, twice seems to be.Jan Schmidt1-1/+5
2014-09-25fixme: bump leftover 0.11 fixme commentsStefan Sauer1-1/+1
2014-09-12tools: gst-inspect: don't list pad functionsTim-Philipp Müller1-18/+0
Don't print all the different pad functions, it's just confusing and no one has ever needed to know this for anything ever anyway, it's just useless information. Besides, we also label the default implementations as 'custom' implementations (the code that tries to prevent that doesn't actually work it seems). https://bugzilla.gnome.org/show_bug.cgi?id=736377
2014-07-28gst-launch: Support SIGINT (Ctrl+C) on W32Руслан Ижбулатов1-2/+24
W32 has no SIGINT, but it does have SetConsoleCtrlHandler(), which sets up a handler for Ctrl+C. https://bugzilla.gnome.org/show_bug.cgi?id=733814