mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
devicemonitor: add debug category
This commit is contained in:
parent
4bc68bb3fe
commit
c34fe82b5b
1 changed files with 5 additions and 0 deletions
|
@ -98,6 +98,9 @@
|
|||
#include "gst_private.h"
|
||||
#include "gstdevicemonitor.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (devicemonitor_debug);
|
||||
#define GST_CAT_DEFAULT devicemonitor_debug
|
||||
|
||||
struct _GstDeviceMonitorPrivate
|
||||
{
|
||||
gboolean started;
|
||||
|
@ -187,6 +190,8 @@ gst_device_monitor_class_init (GstDeviceMonitorClass * klass)
|
|||
object_class->set_property = gst_device_monitor_set_property;
|
||||
object_class->dispose = gst_device_monitor_dispose;
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (devicemonitor_debug, "devicemonitor", 0,
|
||||
"debugging info for the device monitor");
|
||||
g_object_class_install_property (object_class, PROP_SHOW_ALL,
|
||||
g_param_spec_boolean ("show-all", "Show All",
|
||||
"Show all devices, even those from hidden providers",
|
||||
|
|
Loading…
Reference in a new issue