mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
camerabin: Move debug category declaration to a separate file
Having GST_DEBUG_CATEGORY and GST_DEBUG_CATEGORY_EXTERN together might lead to 'undefined symbol' problems. This commit moves the _EXTERN to a separate new file.
This commit is contained in:
parent
1244738bc1
commit
478ef90cf9
7 changed files with 35 additions and 4 deletions
|
@ -40,6 +40,7 @@ noinst_HEADERS = gstcamerabin.h \
|
|||
gstcamerabincolorbalance.h \
|
||||
camerabinimage.h \
|
||||
camerabinvideo.h \
|
||||
camerabindebug.h \
|
||||
camerabingeneral.h \
|
||||
camerabinpreview.h \
|
||||
gstcamerabinphotography.h \
|
||||
|
|
30
gst/camerabin/camerabindebug.h
Normal file
30
gst/camerabin/camerabindebug.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* GStreamer
|
||||
* Copyright (C) 2010 Nokia Corporation <multimedia@maemo.org>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __CAMERABIN_DEBUG_H_
|
||||
#define __CAMERABIN_DEBUG_H_
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
/* debug logging category */
|
||||
GST_DEBUG_CATEGORY_EXTERN (gst_camerabin_debug);
|
||||
#define GST_CAT_DEFAULT gst_camerabin_debug
|
||||
|
||||
#endif /* #ifndef __CAMERABIN_DEBUG_H_ */
|
|
@ -33,8 +33,4 @@ void gst_camerabin_remove_elements_from_bin (GstBin * bin);
|
|||
|
||||
gboolean gst_camerabin_drop_eos_probe (GstPad * pad, GstEvent * event, gpointer u_data);
|
||||
|
||||
/* debug logging category */
|
||||
GST_DEBUG_CATEGORY_EXTERN (gst_camerabin_debug);
|
||||
#define GST_CAT_DEFAULT gst_camerabin_debug
|
||||
|
||||
#endif /* #ifndef __CAMERABIN_GENERAL_H_ */
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
#include <gst/gst.h>
|
||||
|
||||
#include "camerabinimage.h"
|
||||
#include "camerabindebug.h"
|
||||
#include "camerabingeneral.h"
|
||||
#include "gstcamerabin-enum.h"
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include <gst/gst.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "camerabindebug.h"
|
||||
#include "camerabingeneral.h"
|
||||
#include "camerabinpreview.h"
|
||||
|
||||
|
|
|
@ -56,6 +56,7 @@
|
|||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include "camerabindebug.h"
|
||||
#include "camerabingeneral.h"
|
||||
|
||||
#include "camerabinvideo.h"
|
||||
|
|
|
@ -163,6 +163,7 @@
|
|||
#include "gstcamerabincolorbalance.h"
|
||||
#include "gstcamerabinphotography.h"
|
||||
|
||||
#include "camerabindebug.h"
|
||||
#include "camerabingeneral.h"
|
||||
#include "camerabinpreview.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue