mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
omxvideo: fix debug category initialisation
https://bugzilla.gnome.org/show_bug.cgi?id=726024
This commit is contained in:
parent
0ea0eb1579
commit
8a860bd024
3 changed files with 5 additions and 1 deletions
|
@ -2633,6 +2633,8 @@ plugin_init (GstPlugin * plugin)
|
|||
static const gchar *env_config_name[] = { "GST_OMX_CONFIG_DIR", NULL };
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (gstomx_debug, "omx", 0, "gst-omx");
|
||||
GST_DEBUG_CATEGORY_INIT (gst_omx_video_debug_category, "omxvideo", 0,
|
||||
"gst-omx-video");
|
||||
|
||||
/* Read configuration file gstomx.conf from the preferred
|
||||
* configuration directories */
|
||||
|
|
|
@ -341,6 +341,8 @@ gboolean gst_omx_port_is_enabled (GstOMXPort * port);
|
|||
|
||||
void gst_omx_set_default_role (GstOMXClassData *class_data, const gchar *default_role);
|
||||
|
||||
/* refered by plugin_init */
|
||||
GST_DEBUG_CATEGORY_EXTERN (gst_omx_video_debug_category);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include "gstomxvideo.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_omx_video_debug_category);
|
||||
GST_DEBUG_CATEGORY (gst_omx_video_debug_category);
|
||||
#define GST_CAT_DEFAULT gst_omx_video_debug_category
|
||||
|
||||
GList *
|
||||
|
|
Loading…
Reference in a new issue