From 3afc5750627ad47187abcff908952a5c859c4da4 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 24 Nov 2017 13:58:01 +1100 Subject: [PATCH] check: add missing harness function to symbol export list Fixes in user code: undefined reference to `gst_harness_add_element_sink_pad' Also reorder harness function list to be strictly in alphabetical order and double check the list with: awk '{ if ($1 !~ /#define/) if ($2 ~ /gst_harness_/) { print $2 }; if ($3 ~ /gst_harness_/) { print $3} }' libs/gst/check/gstharness.h | sort --- libs/gst/check/Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/gst/check/Makefile.am b/libs/gst/check/Makefile.am index 217901b400..c5d7347610 100644 --- a/libs/gst/check/Makefile.am +++ b/libs/gst/check/Makefile.am @@ -102,6 +102,7 @@ LIBGSTCHECK_EXPORTED_FUNCS = \ gst_consistency_checker_free \ gst_harness_add_element_full \ gst_harness_add_element_src_pad \ + gst_harness_add_element_sink_pad \ gst_harness_add_parse \ gst_harness_add_probe \ gst_harness_add_sink \ @@ -110,14 +111,14 @@ LIBGSTCHECK_EXPORTED_FUNCS = \ gst_harness_add_src \ gst_harness_add_src_harness \ gst_harness_add_src_parse \ - gst_harness_buffers_received \ gst_harness_buffers_in_queue \ + gst_harness_buffers_received \ gst_harness_crank_multiple_clock_waits \ gst_harness_crank_single_clock_wait \ gst_harness_create_buffer \ gst_harness_dump_to_file \ - gst_harness_events_received \ gst_harness_events_in_queue \ + gst_harness_events_received \ gst_harness_find_element \ gst_harness_get \ gst_harness_get_allocator \ @@ -172,8 +173,8 @@ LIBGSTCHECK_EXPORTED_FUNCS = \ gst_harness_try_pull \ gst_harness_try_pull_event \ gst_harness_try_pull_upstream_event \ - gst_harness_upstream_events_received \ gst_harness_upstream_events_in_queue \ + gst_harness_upstream_events_received \ gst_harness_use_systemclock \ gst_harness_use_testclock \ gst_harness_wait_for_clock_id_waits \