diff options
author | Seungha Yang <seungha.yang@navercorp.com> | 2018-12-16 22:46:02 +0900 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-12-18 16:48:17 +0000 |
commit | b606ff16a9b4d8e4a0e5dd39a9a4add32f91c18c (patch) | |
tree | d19764c234fc46611b2971e523324d7490fe1473 /tests | |
parent | 1b0b2c37cc0178d8103e303110f5764b4d6b3a83 (diff) | |
download | gstreamer-plugins-bad-b606ff16a9b4d8e4a0e5dd39a9a4add32f91c18c.tar.gz |
tests: Fix build with MSVC
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/parser.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/check/elements/parser.h b/tests/check/elements/parser.h index 2ea58e1f3..b28e6b4b1 100644 --- a/tests/check/elements/parser.h +++ b/tests/check/elements/parser.h @@ -52,19 +52,19 @@ typedef GstElement* (*ElementSetup) (const gchar * desc); /* context state variables; to be set by test using this helper */ /* mandatory */ -GST_EXPORT const gchar *ctx_factory; -GST_EXPORT GstStaticPadTemplate *ctx_sink_template; -GST_EXPORT GstStaticPadTemplate *ctx_src_template; +extern const gchar *ctx_factory; +extern GstStaticPadTemplate *ctx_sink_template; +extern GstStaticPadTemplate *ctx_src_template; /* optional */ -GST_EXPORT GstCaps *ctx_input_caps; -GST_EXPORT GstCaps *ctx_output_caps; -GST_EXPORT guint ctx_discard; -GST_EXPORT datablob ctx_headers[MAX_HEADERS]; -GST_EXPORT gboolean ctx_no_metadata; +extern GstCaps *ctx_input_caps; +extern GstCaps *ctx_output_caps; +extern guint ctx_discard; +extern datablob ctx_headers[MAX_HEADERS]; +extern gboolean ctx_no_metadata; -GST_EXPORT VerifyBuffer ctx_verify_buffer; -GST_EXPORT ElementSetup ctx_setup; -GST_EXPORT gboolean ctx_frame_generated; +extern VerifyBuffer ctx_verify_buffer; +extern ElementSetup ctx_setup; +extern gboolean ctx_frame_generated; /* no refs taken/kept, all up to caller */ typedef struct @@ -97,31 +97,31 @@ typedef struct gboolean no_metadata; } GstParserTest; -GST_EXPORT +extern void gst_parser_test_init (GstParserTest * ptest, guint8 * data, guint size, guint num); -GST_EXPORT +extern void gst_parser_test_run (GstParserTest * test, GstCaps ** out_caps); -GST_EXPORT +extern void gst_parser_test_normal (guint8 *data, guint size); -GST_EXPORT +extern void gst_parser_test_drain_single (guint8 *data, guint size); -GST_EXPORT +extern void gst_parser_test_drain_garbage (guint8 *data, guint size, guint8 *garbage, guint gsize); -GST_EXPORT +extern void gst_parser_test_split (guint8 *data, guint size); -GST_EXPORT +extern void gst_parser_test_skip_garbage (guint8 *data, guint size, guint8 *garbage, guint gsize); -GST_EXPORT +extern void gst_parser_test_output_caps (guint8 *data, guint size, const gchar * input_caps, const gchar * output_caps); -GST_EXPORT +extern GstCaps *gst_parser_test_get_output_caps (guint8 *data, guint size, const gchar * input_caps); |