gst_plugins_base/tsrc/check/elements/ffmpegcolorspace/src/ffmpegcolorspace.c
changeset 8 4a7fac7dd34a
parent 0 0e761a78d257
child 30 7e817e7e631c
equal deleted inserted replaced
7:71e347f905f2 8:4a7fac7dd34a
    42 #include "std_log_result.h" 
    42 #include "std_log_result.h" 
    43 #define LOG_FILENAME_LINE __FILE__, __LINE__
    43 #define LOG_FILENAME_LINE __FILE__, __LINE__
    44 
    44 
    45 void create_xml(int result)
    45 void create_xml(int result)
    46 {
    46 {
       
    47 
    47     if(result)
    48     if(result)
       
    49     {
    48         assert_failed = 1;
    50         assert_failed = 1;
    49     
    51     } 
       
    52 
    50     testResultXml(xmlfile);
    53     testResultXml(xmlfile);
    51     close_log_file();
    54     close_log_file();
    52 }
    55 
       
    56     if(result)
       
    57     {
       
    58         exit (-1);
       
    59     }    
       
    60 
       
    61 }
       
    62 
    53 typedef struct _RGBFormat
    63 typedef struct _RGBFormat
    54 {
    64 {
    55   const gchar *nick;
    65   const gchar *nick;
    56   guint bpp, depth;
    66   guint bpp, depth;
    57   guint32 red_mask, green_mask, blue_mask, alpha_mask;
    67   guint32 red_mask, green_mask, blue_mask, alpha_mask;