From: Antonio Ospite Date: Fri, 29 Sep 2017 09:25:23 +0000 (+0200) Subject: Set the debug category name to the same GstAppSrc name used in the pipeline X-Git-Url: https://git.ao2.it/gst-aseq-appsrc.git/commitdiff_plain/73f21dec771b84cc4fa830c1636e1eee5b98e23c Set the debug category name to the same GstAppSrc name used in the pipeline --- 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);