From 6d09b2039d0ffe57baaacb8492e6696c19e5224d Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 7 Jan 2020 01:40:57 +0900 Subject: [PATCH] dash: Remove spurious condition check and remove unused debug category Note that uppercase debug category names are used for core modules and should be redefined in lowercase for plugins if necessary. --- ext/dash/gstplugin.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ext/dash/gstplugin.c b/ext/dash/gstplugin.c index 028d138..27ae5ba 100644 --- a/ext/dash/gstplugin.c +++ b/ext/dash/gstplugin.c @@ -9,15 +9,11 @@ #include "gstdashdemux.h" #include "gstdashsink.h" -GST_DEBUG_CATEGORY (dash_debug); - static gboolean dash_init (GstPlugin * plugin) { - GST_DEBUG_CATEGORY_INIT (dash_debug, "DASH", 0, "HTTP Live Streaming (HLS)"); - if (!gst_element_register (plugin, "dashdemux", GST_RANK_PRIMARY, - GST_TYPE_DASH_DEMUX) || FALSE) + GST_TYPE_DASH_DEMUX)) return FALSE; if (!gst_dash_sink_plugin_init (plugin)) -- 2.7.4