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.
This commit is contained in:
Seungha Yang 2020-01-07 01:40:57 +09:00 committed by Guillaume Desmottes
parent 1e5c117c7c
commit 6d09b2039d

View 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))