--- a/gst_plugins_base/tsrc/check/elements/audiorate/src/audiorate.c Wed Mar 31 22:03:18 2010 +0300
+++ b/gst_plugins_base/tsrc/check/elements/audiorate/src/audiorate.c Tue Aug 31 15:30:33 2010 +0300
@@ -36,11 +36,20 @@
void create_xml(int result)
{
+
if(result)
+ {
assert_failed = 1;
-
+ }
+
testResultXml(xmlfile);
close_log_file();
+
+ if(result)
+ {
+ exit (-1);
+ }
+
}
#include "libgstreamer_wsd_solution.h"
@@ -49,7 +58,7 @@
GET_GLOBAL_VAR_FROM_TLS(buffers,gstcheck,GList*)
#define buffers (*GET_GSTREAMER_WSD_VAR_NAME(buffers,gstcheck,g)())
#else
-extern GList *buffers;
+IMPORT_C extern GList *buffers;
#endif
//---------
#if EMULATOR
@@ -92,7 +101,7 @@
GET_GLOBAL_VAR_FROM_TLS(thread_list,gstcheck,GList*)
#define thread_list (*GET_GSTREAMER_WSD_VAR_NAME(thread_list,gstcheck,g)())
#else
-extern GList *thread_list;
+IMPORT_C extern GList *thread_list;
#endif
//GMutex *mutex;