Luis de Bethencourt
587b95a857
stats: always free log
...
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-21 11:19:14 +01:00
Tim-Philipp Müller
bc5c199bc5
docs: mention xdot utility to view .dot files directly
2015-10-16 15:59:49 +01:00
Stefan Sauer
e5eb05741b
stats: TIMESTAMP -> PTS
2015-10-05 20:59:39 +02:00
Stefan Sauer
d9901e7019
stats: fix cpu stats printing
...
Only print them if we have them. Also scale them by 10.0 as the are in
per-mille now.
2015-10-05 20:59:39 +02:00
Stefan Sauer
f09dd66cf6
stats: don't warn on ".class" log lines
2015-10-05 20:59:39 +02:00
Stefan Sauer
dbb1897e9b
rusage: implement windowing of cpuload
...
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-05 20:59:39 +02:00
Stefan Sauer
018858980b
rusage: announce the data format
...
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-05 20:59:39 +02:00
Stefan Sauer
c13ee1f2e9
stats: improve cpu load meassurements
...
Rename variables for clarity. Handle the initial disparity between debug time
and the time already spent in the proc and main thread.
2015-10-05 20:59:39 +02:00
Stefan Sauer
b90ee2a84c
gst-stats: use the rusage stats
...
Add cpuload info from rusage traces.
2015-10-05 20:59:39 +02:00
Stefan Sauer
ff7ba1eb8d
gst-stats: filter complete thread section if we have no pads
2015-10-05 20:59:39 +02:00
Stefan Sauer
0c26387e62
stats: improve the handling of parentage
...
Log new object after we did the check for parents.
2015-10-05 20:59:39 +02:00
Stefan Sauer
81e617fa70
stats: print thread key for stats and filter empty pad-sections
2015-10-05 20:59:39 +02:00
Stefan Sauer
f8390caf2c
stats: update buffer flags
...
Remove some buffer flags that were leftovers from 0.10 and handle new 1.0 buffer
flags.
2015-10-05 20:59:39 +02:00
Stefan Sauer
b8eef6ba2c
stats: add a stats frontend
...
Parse the log and collect data from tracer messages.
2015-10-05 20:59:39 +02:00
Stefan Sauer
6e9f018dc4
inspect: add support for the new factory
...
Handle tracer modules.
2015-10-05 20:59:39 +02:00
Vineeth TM
456ef2aa1d
tests/gst-launch: Fix sample memory leak
...
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-05 12:08:30 +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
6a9b191fb2
tools: gst-launch: fix --exclude command line option
...
This has not worked (as in: crashed) since 2005, so
perhaps it should just be removed instead.
2015-09-05 11:19:53 +01:00
Vivia Nikolaidou
957a81eef9
gst-indent: Add support for gindent as executable name
...
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-06-03 18:09:24 +02:00
Tim-Philipp Müller
8e6561be91
Remove obsolete Android build cruft
...
This is not needed any longer.
2015-04-26 17:49:44 +01:00
Mathieu Duponchelle
5d96658874
tools: remove outdated completion script
...
+ Remove the associated test
https://bugzilla.gnome.org/show_bug.cgi?id=744877#c21
2015-03-18 14:16:48 +01:00
Stefan Sauer
a4e561c7f8
gst-inspect: only print presets line if num-presets > 0
...
Also check for an empty strv.
2015-01-04 23:26:19 +01:00
Stefan Sauer
d3958b912e
gst-inspect: fix output for -a
...
Use n_print to ensure all lines are prefixed with the element name.
2015-01-04 22:52:19 +01:00
Stefan Sauer
a536c62ed6
gst-inspect: print preset names
...
If the element supports presets and ships some, print them.
Fixes #741427
2014-12-21 14:15:54 +01:00
Sebastian Dröge
154eefecc9
Don't compare booleans for equality to TRUE and FALSE
...
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-12-01 09:51:37 +01:00
Aurélien Zanelli
c2390c8943
gst-inspect: add G_PARAM_DEPRECATED to known flags
...
Display 'deprecated' instead of flag value when using G_PARAM_DEPRECATED
in element properties.
https://bugzilla.gnome.org/show_bug.cgi?id=739518
2014-11-02 12:50:04 +00:00
Jan Schmidt
8f4b4a9497
gst-indent: Run indent twice. Once is not idempotent, twice seems to be.
2014-10-20 23:55:47 +11:00
Stefan Sauer
d5518edf12
fixme: bump leftover 0.11 fixme comments
2014-09-25 21:27:03 +02:00
Tim-Philipp Müller
d3de22d802
tools: gst-inspect: don't list pad functions
...
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-09-12 14:13:54 +01:00
Руслан Ижбулатов
35fc309544
gst-launch: Support SIGINT (Ctrl+C) on W32
...
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
2014-07-28 09:21:40 +02:00
Sebastian Dröge
7f9c0d06dd
docs: There is no decodebin2 anymore, don't pretend otherwise
2014-07-08 11:18:05 +02:00
Tim-Philipp Müller
721a1c7553
tools: suppress GLib warnings when gst-inspecting deprecated properties
...
GLib in git will spew a g_warning() when a property marked as
deprecated via param spec flags is accessed. Suppress this by
setting the appropriate environment variable.
2014-07-04 19:40:28 +01:00
Olivier Crête
7992174a1a
DeviceProvider: Rename from DeviceMonitor
2014-06-26 14:45:30 -04:00
Wim Taymans
df7bfb6a10
inspect: print structure values of properties
2014-04-12 07:13:02 +02:00
Edward Hervey
98ea309bea
gst-launch.1: Playbin2 is dead, long live playbin
...
Looks like that was the last remaining mention in core ...
2014-04-03 07:37:11 +02:00
Sebastian Dröge
338a150a1b
gst-inspect: Add missing \n in output
2014-04-02 23:52:24 +02:00
Wim Taymans
f85ce91e9d
launch: place the deep-notify on the right pipeline
...
If the toplevel bin is not not a pipeline, we place the bin in a
pipeline. Also make sure that we connect to the deep-notify of this new
pipeline because we will g_signal_handler_disconnect() from it later.
2014-03-25 12:38:07 +01:00
Olivier Crête
59611a01ac
gst-inpect: Print device monitor
2014-03-16 20:50:53 -04:00
Sebastian Dröge
be32ae0252
gst-inspect: Fix yet another compiler warning
...
https://bugzilla.gnome.org/show_bug.cgi?id=724045
2014-02-10 17:09:59 +01:00
Sebastian Dröge
53d8460bfd
gst-inspect: Make clang happy with our g_vprintf() wrapper
2014-02-08 16:42:55 +01:00
Sebastian Dröge
c1ec592ec2
tools: Support non-ASCII tags
...
By calling setlocale() to get us multi-byte/UTF-8 support.
https://bugzilla.gnome.org/show_bug.cgi?id=723164
2014-01-30 21:25:48 +01:00
Edward Hervey
12b3a37b5e
gst-launch: Handle taglist copy failure
...
If we couldn't copy the tags, just return instead of trying to use bogus
values.
2013-12-10 18:30:03 -05:00
Edward Hervey
60b94c6498
gst-inspect: Index features are no more
...
So remove code that will never be used
2013-12-10 18:25:22 -05:00
Tim-Philipp Müller
208e303568
tools: gst-launch: don't try to remove already-removed GSource from main loop
...
It's considered a programming error in recent GLib versions now.
We may already have removed the source by returning FALSE from
the callback if it was fired. Fixes warning with newer GLibs
when interrupting a pipeline with Control-C.
2013-12-05 00:26:13 +00:00
Philippe Normand
6e4cab6541
gst-launch: exit with an error code when an error occured
...
If the pipeline failed to pre-roll or the user interrupted the
execution then set the exit code to a positive value.
https://bugzilla.gnome.org/show_bug.cgi?id=712300
2013-11-25 12:12:39 +01:00
Stefan Sauer
24c741554c
typefind: use g_get_prgname() for error message
2013-11-07 21:01:27 +01:00
Reynaldo H. Verdejo Pinochet
afe174d38d
gst-inspect: Remove some dead code
2013-11-04 13:56:37 -08:00
Matthieu Bouron
a0e2eb6169
gst-launch: fix potential uninitialized variable warning
...
https://bugzilla.gnome.org/show_bug.cgi?id=710758
2013-11-01 15:15:29 +01:00
Sebastian Dröge
aacedb9da4
gst-launch: Update for GstContext changes
2013-09-18 21:42:42 +02:00
Tim-Philipp Müller
954776ab38
tools: move gst-plot-timeline.py into scripts directory
...
So it's not in PATH in an uninstalled setup (thwarting
gst-play autocompletion).
2013-09-04 10:43:16 +01:00