Stefan Sauer
c068b225fe
docs: convert the examples to use gtk-doc markup, instead of docbook
...
The gtk-doc markup is less intrusive and better handled when creating docs for
language bindings. The titles (where used) where not adding much.
2014-02-27 18:11:35 +01:00
Stefan Sauer
0264bbdb46
info: move some env-var checks from gst to gstinfo as well
...
We were doing some log related initialisation in gst.c after calling
_priv_gst_debug_init(). Just move it there for consistency.
2014-01-16 20:47:53 +01:00
Wim Taymans
42d36b9495
info: debug segment offset field as well
2014-01-08 15:04:00 +01:00
Víctor Manuel Jáquez Leal
24a766a13b
info: return existing category if a debug category is registered twice
...
If a category with the same name is found when creating a new
one, the found category is returned instead of an invalid pointer.
Fixes issue with gst-vaapi (which uses an internal copy of the
codec parsers) caused by commit ccba9130
.
https://bugzilla.gnome.org/show_bug.cgi?id=720036
2013-12-07 19:03:23 +00:00
Olivier Crête
ccba91308d
info: Make sure the same category is not added twice
2013-12-04 17:35:18 -05:00
Olivier Crête
e0317288ba
info: Protect __categories list in get_category with lock too
2013-12-04 17:35:02 -05:00
Tim-Philipp Müller
4afa63a8ba
gst: g_memmove() is deprecated
...
Just use plain memmove(), g_memmove() is deprecated in
recent GLib versions.
https://bugzilla.gnome.org/show_bug.cgi?id=712811
2013-11-21 15:04:04 +00:00
Tim-Philipp Müller
9f669e5ea5
docs: cosmetic since marker fixes
2013-11-16 16:09:40 +00:00
Sebastian Dröge
4d367dc1b0
context: Change GstContext to contain only a single context
...
It was unintuitive that GstContext was actually a list of different
contexts. GstContext now is only a type string and a structure to
contain the actual context.
2013-09-17 13:28:42 +02:00
Edward Hervey
29353c1b59
gst: minor docstring fixups to make g-i happy
...
note: the #ifndef move is actually a move of the "SECTION" docstring
2013-08-14 07:05:04 +02:00
David Schleef
f599019a99
info: parse debug levels > 9
2013-07-24 10:30:09 -07:00
Sebastian Dröge
b9841335ed
info: Add some Since: 1.2
2013-07-18 14:34:31 +02:00
Руслан Ижбулатов
797fcd1d49
info: Add debug color mode option
...
This allows to explicitely set the debug output color
mode to UNIX on every platform, enable it (use platform
default color mode) or enable it.
https://bugzilla.gnome.org/show_bug.cgi?id=674320
2013-07-18 14:30:44 +02:00
Руслан Ижбулатов
46106ebe8f
info: Fix black and underline coloring on W32
...
Fixes #674320
2013-07-18 14:21:22 +02:00
Руслан Ижбулатов
143f30bfcb
info: Cut down src file names for MinGW too
...
Fixes #674320
2013-07-18 14:21:06 +02:00
Tim-Philipp Müller
0e1dd050a5
printf: don't build if debugging subsystem was disabled
2013-04-13 01:19:41 +01:00
Tim-Philipp Müller
fe7f7135e0
printf: add infrastructure for pointer extensions hook
...
Does not do anything yet. On a sidenote, we can't just use
%p\001 or so to signal the extension because g-i complains
about an invalid ascii character then, so have to resort to
something more elaborate, such as %p\aA etc.
https://bugzilla.gnome.org/show_bug.cgi?id=613081
2013-04-12 23:05:57 +01:00
Tim-Philipp Müller
7b19944280
info: use new internal printf for debug message printing
...
and remove all the printf extension/specifier stuff for
the system printf. Next we need to add back the custom
specifiers to our own printf implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=613081
2013-04-12 23:05:57 +01:00
Tim-Philipp Müller
0dd761101c
info: minor cosmetic changes
...
Let's not use ugly leading underscores for
static functions.
2013-04-01 22:17:20 +01:00
Tim-Philipp Müller
cef9018eaf
info: fix object printing of caps features in debug log
2013-04-01 21:23:21 +01:00
Stefan Sauer
6465dbd647
info: refactor pretty printing objects
...
Extract formatters into local functions. Change the structure filtering so that
it works for taglists too.
2013-04-01 16:39:18 +02:00
Sebastian Dröge
7477b25df5
caps: Add new data type for handling caps features to the caps
...
These are meant to specify features in caps that are required
for a specific structure, for example a specific memory type
or meta.
Semantically they could be though of as an extension of the media
type name of the structures and are handled exactly like that.
2013-03-31 18:15:52 +02:00
Sebastian Dröge
b909061031
gst: Add new GstContext miniobject for sharing contexts in a pipeline
2013-03-29 16:40:21 +01:00
Sebastian Rasmussen
7691a82f3a
info: fix compiler warning when debugging disabled
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=688130
2012-11-12 09:29:58 +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
Tim-Philipp Müller
3d5f6202af
info: allow setting of GST_DEBUG levels by name
...
e.g. GST_DEBUG=*:INFO,*src:LOG
2012-10-27 14:40:14 +01:00
Thibault Saunier
e513ed1810
info: add a function to set debug threshold from a GST_DEBUG-style string
...
Use the same format as with the GST_DEBUG environment variable.
API: gst_debug_set_threshold_from_string()
https://bugzilla.gnome.org/show_bug.cgi?id=679152
2012-10-27 13:42:51 +01:00
Sebastian Dröge
32d7d5923b
info: Don't use GST_DEBUG() in gst_debug_add_log_function() and related functions unconditionally
...
If GStreamer was not initialized yet this will cause g_warnings().
2012-10-22 10:26:49 +02:00
Olivier Blin
4710b36bda
info: do not register printf extension for %p
...
This happened when glib was not using system printf, and caused the
internal gstreamer printf extensions to be used for all %p printfs,
causing crashes.
https://bugzilla.gnome.org/show_bug.cgi?id=684970
2012-09-27 23:58:32 +01:00
Tim-Philipp Müller
379c3cd184
info: make taglists and datetime loggable via GST_PTR_FORMAT
2012-07-14 18:52:50 +01:00
Edward Hervey
d3ffa82639
Remove 0.10-related documentation and "Since" markers
2012-07-10 12:03:27 +02:00
Sebastian Rasmussen
73ab9d17e3
gstinfo: Add destroy notify arguments to debug stubs
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679535
2012-07-07 13:39:25 +01:00
Wim Taymans
afd5db3c6b
info: add new locking debug category
2012-07-05 11:19:16 +02:00
Wim Taymans
7da1d23a9b
info: add destroy notify to gst_debug_add_log_function()
2012-06-20 13:28:08 +02:00
Wim Taymans
391b4309f9
meta: improve debugging
...
Add category for metadata debug
2012-03-01 17:41:57 +01:00
Wim Taymans
3eeb6e6c05
info: debug segment duration as well
2012-02-20 14:28:57 +01:00
Wim Taymans
7fc783f723
info: also debug position of segment
2012-02-18 00:03:13 +01:00
Wim Taymans
e60b67f907
Update debug categories
...
Remove some categories marked for deletion.
Add a category for GstMemory.
2012-02-02 15:54:28 +01:00
Tim-Philipp Müller
2c8c44976f
Replace deprecated GStaticMutex with GMutex
...
https://bugzilla.gnome.org/show_bug.cgi?id=662207
2012-01-22 22:44:59 +00:00
Wim Taymans
80fc568747
buffer: add pts/dts to buffers
2011-10-28 12:15:44 +02:00
Tim-Philipp Müller
ac40ab45b3
info: make _gst_debug_init() private for now
...
This was a FIXME for 0.11. I guess a case could be made to keep it around
separately for apps or libraries that only want to use GStreamer's debugging
system, but it seems more likely they'd just copy the two source files into
their own tree if the case. Also, things like types wouldn't be initialised
without gst_init(). We can still make it public again if anyone needs it,
but then we should make it a proper function and not hide it behind
underscores.
2011-10-08 20:15:46 +01:00
Tim-Philipp Müller
5df82c88c9
info: rename __gst_debug_* to _gst_debug_* and fix symbol export regexp
...
Only export GStreamer symbols with one leading underscore, not two
or more leading underscores.
Requires a rebuild of the entire stack, sorry.
2011-10-08 14:27:12 +01:00
Wim Taymans
c57c1e9b59
info: port to 0.11
2011-10-08 09:41:54 +02:00
Wim Taymans
ee1f861ec1
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstpad.c
2011-10-08 09:28:02 +02:00
Robert Swain
138bb17bf9
GST_PTR_FORMAT: Add GstBuffer ptr format and use in GST_SCHEDULING
...
GstBuffer pointers can now be printed using GST_PTR_FORMAT. This is used
in the very useful GST_SCHEDULING debug logs in gstpad.c and allows for
easier and more information tracking of buffer progress through a
pipeline with just debug logging.
2011-10-07 16:38:52 +02:00
Wim Taymans
5cf8e68944
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstmessage.c
gst/gstquery.c
gst/gstregistrychunks.c
gst/gstsegment.c
libs/gst/base/gstbasetransform.c
libs/gst/base/gstbasetransform.h
libs/gst/base/gsttypefindhelper.c
plugins/elements/gsttypefindelement.c
2011-08-26 14:37:54 +02:00
Josep Torra
2a6ba0b29d
info: explicitly cast to the enum type
...
Fixes warning #188 : enumerated type mixed with another type reported by ICC.
2011-08-26 14:11:13 +02:00
Wim Taymans
2d28891528
Merge branch 'master' into 0.11
...
Conflicts:
gst/gstelementfactory.c
gst/gstelementfactory.h
gst/gstpad.h
gst/gstpluginfeature.c
gst/gstpluginfeature.h
2011-06-10 12:09:49 +02:00
Javier Jardón
5d25e4a204
Use "const" instead G_CONST_RETURN
...
G_CONST_RETURN will be deprecated soon.
https://bugzilla.gnome.org/show_bug.cgi?id=652211
2011-06-09 17:54:27 +01:00
Tim-Philipp Müller
bc69efa7cc
info: remove GST_XML debug category as well
2011-06-04 15:23:56 +01:00