equal
deleted
inserted
replaced
34 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
34 #define LOG_FILENAME_LINE __FILE__, __LINE__ |
35 //char* xmlfile = "tee"; |
35 //char* xmlfile = "tee"; |
36 |
36 |
37 void create_xml(int result) |
37 void create_xml(int result) |
38 { |
38 { |
39 |
|
40 if(result) |
39 if(result) |
41 { |
|
42 assert_failed = 1; |
40 assert_failed = 1; |
43 } |
41 |
44 |
|
45 testResultXml(xmlfile); |
42 testResultXml(xmlfile); |
46 close_log_file(); |
43 close_log_file(); |
47 |
|
48 if(result) |
|
49 { |
|
50 exit (-1); |
|
51 } |
|
52 |
|
53 } |
44 } |
54 |
45 |
55 static void |
46 static void |
56 handoff (GstElement * fakesink, GstBuffer * buf, GstPad * pad, guint * count) |
47 handoff (GstElement * fakesink, GstBuffer * buf, GstPad * pad, guint * count) |
57 { |
48 { |