tests: don't use private debug category in asset test
authorTim-Philipp Müller <tim@centricular.com>
Fri, 11 Aug 2017 20:41:52 +0000 (21:41 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 11 Aug 2017 21:24:28 +0000 (22:24 +0100)
That will lead to undefined symbol errors once it no
longer gets exported.

ges/ges-internal.h
tests/check/ges/asset.c

index 2cc0744..f3b8670 100644 (file)
@@ -34,7 +34,9 @@
 G_BEGIN_DECLS
 
 GST_DEBUG_CATEGORY_EXTERN (_ges_debug);
+#ifndef GST_CAT_DEFAULT
 #define GST_CAT_DEFAULT _ges_debug
+#endif
 
 /*  The first 2 NLE priorities are used for:
  *    0- The Mixing element
index d15d75a..b221b81 100644 (file)
@@ -20,7 +20,6 @@
  */
 
 #include "test-utils.h"
-#undef GST_CAT_DEFAULT
 #include "../../../ges/ges-internal.h"
 #include <ges/ges.h>
 #include <gst/check/gstcheck.h>