srt: Enable logs for srtobject
This commit is contained in:
parent
f63643fcbf
commit
2bb907eb9c
@ -25,9 +25,14 @@
|
|||||||
#include "gstsrtsrc.h"
|
#include "gstsrtsrc.h"
|
||||||
#include "gstsrtsink.h"
|
#include "gstsrtsink.h"
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY (gst_debug_srtobject);
|
||||||
|
#define GST_CAT_DEFAULT gst_debug_srtobject
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
|
GST_DEBUG_CATEGORY_INIT (gst_debug_srtobject, "srtobject", 0, "SRT Object");
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "srtsrc", GST_RANK_PRIMARY,
|
if (!gst_element_register (plugin, "srtsrc", GST_RANK_PRIMARY,
|
||||||
GST_TYPE_SRT_SRC))
|
GST_TYPE_SRT_SRC))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include <gio/gnetworking.h>
|
#include <gio/gnetworking.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY (gst_debug_srtobject);
|
GST_DEBUG_CATEGORY_EXTERN (gst_debug_srtobject);
|
||||||
#define GST_CAT_DEFAULT gst_debug_srtobject
|
#define GST_CAT_DEFAULT gst_debug_srtobject
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
Loading…
x
Reference in New Issue
Block a user