srt: Enable logs for srtobject

This commit is contained in:
Justin Kim 2019-01-22 12:44:07 +09:00
parent f63643fcbf
commit 2bb907eb9c
2 changed files with 6 additions and 1 deletions

View file

@ -25,9 +25,14 @@
#include "gstsrtsrc.h"
#include "gstsrtsink.h"
GST_DEBUG_CATEGORY (gst_debug_srtobject);
#define GST_CAT_DEFAULT gst_debug_srtobject
static gboolean
plugin_init (GstPlugin * plugin)
{
GST_DEBUG_CATEGORY_INIT (gst_debug_srtobject, "srtobject", 0, "SRT Object");
if (!gst_element_register (plugin, "srtsrc", GST_RANK_PRIMARY,
GST_TYPE_SRT_SRC))
return FALSE;

View file

@ -28,7 +28,7 @@
#include <gio/gnetworking.h>
#include <stdlib.h>
GST_DEBUG_CATEGORY (gst_debug_srtobject);
GST_DEBUG_CATEGORY_EXTERN (gst_debug_srtobject);
#define GST_CAT_DEFAULT gst_debug_srtobject
enum