mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
validate: redefine default cat for the runner
The gstvalidate_debug may not be initialized like with the validate/reporting which was crashing when run with GST_DEBUG=5. Reviewed-by: Thibault Saunier <tsaunier@gnome.org> Differential Revision: https://phabricator.freedesktop.org/D1004
This commit is contained in:
parent
01c2ba564a
commit
4c6fce855e
1 changed files with 7 additions and 0 deletions
|
@ -36,6 +36,10 @@
|
|||
#include "gst-validate-override-registry.h"
|
||||
#include "gst-validate-runner.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_validate_runner_debug);
|
||||
#undef GST_CAT_DEFAULT
|
||||
#define GST_CAT_DEFAULT gst_validate_runner_debug
|
||||
|
||||
static gboolean element_created = FALSE;
|
||||
|
||||
/* We create a GstValidateRunner on _init ()
|
||||
|
@ -425,6 +429,9 @@ gst_validate_runner_class_init (GstValidateRunnerClass * klass)
|
|||
_signals[STOPPING_SIGNAL] =
|
||||
g_signal_new ("stopping", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, 0,
|
||||
NULL, NULL, NULL, G_TYPE_NONE, 0);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (gst_validate_runner_debug, "gstvalidaterunner",
|
||||
GST_DEBUG_FG_YELLOW, "Gst validate runner");
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue