--- a/gst_plugins_base/tsrc/check/elements/playbin/src/playbin.c Wed Mar 31 22:03:18 2010 +0300
+++ b/gst_plugins_base/tsrc/check/elements/playbin/src/playbin.c Tue Aug 31 15:30:33 2010 +0300
@@ -35,17 +35,26 @@
void create_xml(int result)
{
+
if(result)
+ {
assert_failed = 1;
-
+ }
+
testResultXml(xmlfile);
close_log_file();
+
+ if(result)
+ {
+ exit (-1);
+ }
+
}
#ifndef GST_DISABLE_REGISTRY
-static GType gst_red_video_src_get_type (void);
-static GType gst_codec_src_get_type (void);
+IMPORT_C GType gst_red_video_src_get_type (void);
+IMPORT_C GType gst_codec_src_get_type (void);
#define DEFINE_TEST(func) \
static void func (void); \
@@ -757,8 +766,9 @@
typedef GstPushSrc GstRedVideoSrc;
typedef GstPushSrcClass GstRedVideoSrcClass;
+
GST_BOILERPLATE_FULL (GstRedVideoSrc, gst_red_video_src, GstPushSrc,
- GST_TYPE_PUSH_SRC, gst_red_video_src_init_type);
+ GST_TYPE_PUSH_SRC, gst_red_video_src_init_type);
static void
gst_red_video_src_base_init (gpointer klass)
@@ -869,6 +879,7 @@
typedef GstPushSrc GstCodecSrc;
typedef GstPushSrcClass GstCodecSrcClass;
+
GST_BOILERPLATE_FULL (GstCodecSrc, gst_codec_src, GstPushSrc,
GST_TYPE_PUSH_SRC, gst_codec_src_init_type);