From 73f21dec771b84cc4fa830c1636e1eee5b98e23c Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 29 Sep 2017 11:25:23 +0200 Subject: [PATCH 1/1] Set the debug category name to the same GstAppSrc name used in the pipeline --- gst-aseq-appsrc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-aseq-appsrc.c b/gst-aseq-appsrc.c index 2fd617f..1b2da94 100644 --- a/gst-aseq-appsrc.c +++ b/gst-aseq-appsrc.c @@ -38,8 +38,8 @@ #define DEFAULT_TICK_PERIOD_MS 10 #define DEFAULT_POLL_TIMEOUT_MS (DEFAULT_TICK_PERIOD_MS / 2) -GST_DEBUG_CATEGORY (mysrc_debug); -#define GST_CAT_DEFAULT mysrc_debug +GST_DEBUG_CATEGORY (mysource_debug); +#define GST_CAT_DEFAULT mysource_debug typedef struct _App App; @@ -412,7 +412,7 @@ main (int argc, char *argv[]) gst_init (&argc, &argv); - GST_DEBUG_CATEGORY_INIT (mysrc_debug, "mysrc", 0, + GST_DEBUG_CATEGORY_INIT (mysource_debug, "mysource", 0, "ALSA MIDI sequencer appsrc pipeline"); ret = app_init (app, ports); -- 2.1.4