gstreamer_core/tsrc/examples/manual/elementfactory/src/elementfactory.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    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 
       
    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 
       
    32 int
    22 int
    33 main (int   argc,
    23 main (int   argc,
    34       char *argv[])
    24       char *argv[])
    35 {
    25 {
    36   GstElementFactory *factory;
    26   GstElementFactory *factory;