projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea402c7
)
tests: uri: fix build without -DGST_DISABLE_DEPRECATED
author
Tim-Philipp Müller
<tim@centricular.com>
Thu, 15 Feb 2018 12:03:20 +0000
(12:03 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 15 Feb 2018 12:11:55 +0000
(12:11 +0000)
Must undefine it before including gst headers, since the test
tests deprecated API.
tests/check/gst/gsturi.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gsturi.c
b/tests/check/gst/gsturi.c
index
3f753f6
..
ee623db
100644
(file)
--- a/
tests/check/gst/gsturi.c
+++ b/
tests/check/gst/gsturi.c
@@
-21,6
+21,10
@@
#include "config.h"
#endif
+#ifndef GST_REMOVE_DEPRECATED
+#undef GST_DISABLE_DEPRECATED
+#endif
+
#include <gst/check/gstcheck.h>
GST_START_TEST (test_protocol_case)