gstreamer_core/tsrc/examples/manual/getelements/src/elementget.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    11 //char* xmlfile = "filesink";
    11 //char* xmlfile = "filesink";
    12 
    12 
    13 
    13 
    14 void create_xml(int result)
    14 void create_xml(int result)
    15 {
    15 {
    16 
       
    17     if(result)
    16     if(result)
    18     {
       
    19         assert_failed = 1;
    17         assert_failed = 1;
    20     } 
    18     
    21 
       
    22     testResultXml(xmlfile);
    19     testResultXml(xmlfile);
    23     close_log_file();
    20     close_log_file();
    24 
       
    25     if(result)
       
    26     {
       
    27         exit (-1);
       
    28     }    
       
    29 
       
    30 }
    21 }
    31 #include <gst/gst.h>
    22 #include <gst/gst.h>
    32 
    23 
    33 int main (int   argc,
    24 int main (int   argc,
    34       char *argv[])
    25       char *argv[])