summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-08-11 21:41:52 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-08-11 22:24:28 +0100
commit7bec37a7553f168e4ea739cd5afcb4ed4bfdf064 (patch)
tree11cd78d4f58f42c733ca96158b4493d60e981ed2
parentb0f065534397283bde68a76f7f46b35c032c11d4 (diff)
tests: don't use private debug category in asset test
That will lead to undefined symbol errors once it no longer gets exported.
-rw-r--r--ges/ges-internal.h2
-rw-r--r--tests/check/ges/asset.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/ges/ges-internal.h b/ges/ges-internal.h
index 2cc0744bbd..f3b86703d5 100644
--- a/ges/ges-internal.h
+++ b/ges/ges-internal.h
@@ -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
diff --git a/tests/check/ges/asset.c b/tests/check/ges/asset.c
index d15d75a700..b221b810fc 100644
--- a/tests/check/ges/asset.c
+++ b/tests/check/ges/asset.c
@@ -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>