gstreamer_core/tsrc/examples/manual/elementfactory/src/elementfactory.c
branchRCL_3
changeset 29 567bb019e3e3
parent 2 5505e8908944
child 30 7e817e7e631c
equal deleted inserted replaced
6:9b2c3c7a1a9c 29:567bb019e3e3
    11 
    11 
    12 //char* xmlfile = "gstvalue";
    12 //char* xmlfile = "gstvalue";
    13 
    13 
    14 void create_xml(int result)
    14 void create_xml(int result)
    15 {
    15 {
       
    16 
    16     if(result)
    17     if(result)
       
    18     {
    17         assert_failed = 1;
    19         assert_failed = 1;
    18     
    20     } 
       
    21 
    19     testResultXml(xmlfile);
    22     testResultXml(xmlfile);
    20     close_log_file();
    23     close_log_file();
       
    24 
       
    25     if(result)
       
    26     {
       
    27         exit (-1);
       
    28     }    
       
    29 
    21 }
    30 }
       
    31 
    22 int
    32 int
    23 main (int   argc,
    33 main (int   argc,
    24       char *argv[])
    34       char *argv[])
    25 {
    35 {
    26   GstElementFactory *factory;
    36   GstElementFactory *factory;