dash: Remove spurious condition check and remove unused debug category
authorSeungha Yang <seungha.yang@navercorp.com>
Mon, 6 Jan 2020 16:40:57 +0000 (01:40 +0900)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Tue, 7 Jan 2020 04:11:27 +0000 (04:11 +0000)
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

index 028d138..27ae5ba 100644 (file)
@@ -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))