--- a/gstreamer_core/tsrc/check/elements/filesrc/src/filesrc.c Tue Aug 31 15:30:33 2010 +0300
+++ b/gstreamer_core/tsrc/check/elements/filesrc/src/filesrc.c Wed Sep 01 12:16:41 2010 +0100
@@ -44,25 +44,16 @@
static GET_GLOBAL_VAR_FROM_TLS(buffers,gstcheck,GList*)
#define buffers (*GET_GSTREAMER_WSD_VAR_NAME(buffers,gstcheck,g)())
#else
-IMPORT_C extern GList *buffers;
+extern GList *buffers;
#endif
void create_xml(int result)
{
-
if(result)
- {
assert_failed = 1;
- }
-
+
testResultXml(xmlfile);
close_log_file();
-
- if(result)
- {
- exit (-1);
- }
-
}
#include "libgstreamer_wsd_solution.h"
@@ -494,11 +485,11 @@
location = (gchar *) gst_uri_handler_get_uri (GST_URI_HANDLER (src));
- fail_unless_equals_string (location, "file://%5Cfoo%5Cbar");
+ fail_unless_equals_string (location, "file://%2Ffoo%2Fbar");
g_object_get (G_OBJECT (src), "location", &location, NULL);
- fail_unless_equals_string (location, "\\foo\\bar");
+ fail_unless_equals_string (location, "/foo/bar");
g_free (location);
@@ -509,11 +500,11 @@
location = (gchar *) gst_uri_handler_get_uri (GST_URI_HANDLER (src));
- fail_unless_equals_string (location, "file://%5Cfoo%5Cbaz");
+ fail_unless_equals_string (location, "file://%2Ffoo%2Fbaz");
g_object_get (G_OBJECT (src), "location", &location, NULL);
- fail_unless_equals_string (location, "\\foo\\baz");
+ fail_unless_equals_string (location, "/foo/baz");
g_free (location);