mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
gst: Add debugging category GST_POLL for gstpoll
This commit is contained in:
parent
b90360473b
commit
0fc16a8e74
3 changed files with 7 additions and 0 deletions
|
@ -157,6 +157,7 @@ GST_EXPORT GstDebugCategory *GST_CAT_PROBE;
|
|||
GST_EXPORT GstDebugCategory *GST_CAT_REGISTRY;
|
||||
GST_EXPORT GstDebugCategory *GST_CAT_QOS;
|
||||
GST_EXPORT GstDebugCategory *GST_CAT_TYPES; /* FIXME 0.11: remove? */
|
||||
GST_EXPORT GstDebugCategory *GST_CAT_POLL;
|
||||
|
||||
#else
|
||||
|
||||
|
@ -192,6 +193,7 @@ GST_EXPORT GstDebugCategory *GST_CAT_TYPES; /* FIXME 0.11: remove? */
|
|||
#define GST_CAT_REGISTRY NULL
|
||||
#define GST_CAT_QOS NULL
|
||||
#define GST_CAT_TYPES NULL
|
||||
#define GST_CAT_POLL NULL
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -165,6 +165,8 @@ GstDebugCategory *GST_CAT_SIGNAL = NULL;
|
|||
GstDebugCategory *GST_CAT_PROBE = NULL;
|
||||
GstDebugCategory *GST_CAT_REGISTRY = NULL;
|
||||
GstDebugCategory *GST_CAT_QOS = NULL;
|
||||
GstDebugCategory *GST_CAT_POLL = NULL;
|
||||
|
||||
|
||||
#endif /* !defined(GST_DISABLE_GST_DEBUG) || !defined(GST_REMOVE_DISABLED) */
|
||||
|
||||
|
@ -395,6 +397,7 @@ _gst_debug_init (void)
|
|||
GST_DEBUG_BOLD | GST_DEBUG_FG_GREEN, "pad probes");
|
||||
GST_CAT_REGISTRY = _gst_debug_category_new ("GST_REGISTRY", 0, "registry");
|
||||
GST_CAT_QOS = _gst_debug_category_new ("GST_QOS", 0, "QoS");
|
||||
GST_CAT_POLL = _gst_debug_category_new ("GST_POLL", 0, "poll");
|
||||
|
||||
|
||||
/* print out the valgrind message if we're in valgrind */
|
||||
|
|
|
@ -84,6 +84,8 @@
|
|||
|
||||
#include "gstpoll.h"
|
||||
|
||||
#define GST_CAT_DEFAULT GST_CAT_POLL
|
||||
|
||||
#ifndef G_OS_WIN32
|
||||
/* the poll/select call is also performed on a control socket, that way
|
||||
* we can send special commands to control it
|
||||
|
|
Loading…
Reference in a new issue