mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
v4l2: don't redefine the PERFORMANCE debug variable
It is already defined in core. fixes https://bugzilla.gnome.org/show_bug.cgi?id=702732
This commit is contained in:
parent
b96d931bf4
commit
821d99a503
1 changed files with 0 additions and 2 deletions
|
@ -39,13 +39,11 @@
|
||||||
|
|
||||||
/* used in v4l2_calls.c and v4l2src_calls.c */
|
/* used in v4l2_calls.c and v4l2src_calls.c */
|
||||||
GST_DEBUG_CATEGORY (v4l2_debug);
|
GST_DEBUG_CATEGORY (v4l2_debug);
|
||||||
GST_DEBUG_CATEGORY (GST_CAT_PERFORMANCE);
|
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
plugin_init (GstPlugin * plugin)
|
plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
GST_DEBUG_CATEGORY_INIT (v4l2_debug, "v4l2", 0, "V4L2 API calls");
|
GST_DEBUG_CATEGORY_INIT (v4l2_debug, "v4l2", 0, "V4L2 API calls");
|
||||||
GST_DEBUG_CATEGORY_GET (GST_CAT_PERFORMANCE, "GST_PERFORMANCE");
|
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "v4l2src", GST_RANK_PRIMARY,
|
if (!gst_element_register (plugin, "v4l2src", GST_RANK_PRIMARY,
|
||||||
GST_TYPE_V4L2SRC) ||
|
GST_TYPE_V4L2SRC) ||
|
||||||
|
|
Loading…
Reference in a new issue