gst_plugins_base/tsrc/examples/dynamic/addstream/src/addstream.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    33 
    33 
    34 #define LOG_FILENAME_LINE __FILE__, __LINE__
    34 #define LOG_FILENAME_LINE __FILE__, __LINE__
    35 
    35 
    36 void create_xml(int result)
    36 void create_xml(int result)
    37 {
    37 {
    38 
       
    39     if(result)
    38     if(result)
    40     {
       
    41         assert_failed = 1;
    39         assert_failed = 1;
    42     } 
    40     
    43 
       
    44     testResultXml(xmlfile);
    41     testResultXml(xmlfile);
    45     close_log_file();
    42     close_log_file();
    46 
       
    47     if(result)
       
    48     {
       
    49         exit (-1);
       
    50     }    
       
    51 
       
    52 }
    43 }
    53 
    44 
    54 
    45 
    55 static GstElement *pipeline;
    46 static GstElement *pipeline;
    56 static GstClock *theclock;
    47 static GstClock *theclock;