gst_plugins_base/tsrc/check/elements/ffmpegcolorspace/src/ffmpegcolorspace.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    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 
       
    48     if(result)
    47     if(result)
    49     {
       
    50         assert_failed = 1;
    48         assert_failed = 1;
    51     } 
    49     
    52 
       
    53     testResultXml(xmlfile);
    50     testResultXml(xmlfile);
    54     close_log_file();
    51     close_log_file();
    55 
    52 }
    56     if(result)
       
    57     {
       
    58         exit (-1);
       
    59     }    
       
    60 
       
    61 }
       
    62 
       
    63 typedef struct _RGBFormat
    53 typedef struct _RGBFormat
    64 {
    54 {
    65   const gchar *nick;
    55   const gchar *nick;
    66   guint bpp, depth;
    56   guint bpp, depth;
    67   guint32 red_mask, green_mask, blue_mask, alpha_mask;
    57   guint32 red_mask, green_mask, blue_mask, alpha_mask;