gstreamer_core/tsrc/check/elements/tee/src/tee.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    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 {