gstregistrygenerator/src/gstregistrygenerator.cpp
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
     5 #include <string.h>
     5 #include <string.h>
     6 
     6 
     7 int
     7 int
     8 main (int argc, char *argv[])
     8 main (int argc, char *argv[])
     9 {
     9 {
    10   // To Update registry set GST_REGISTRY_UPDATE to yes.
       
    11   // by default it will not update the registry..
       
    12   // if the registry is not present it will create registry.
       
    13   setenv("GST_REGISTRY_UPDATE", "yes", 0);
       
    14   //This will update registry
    10   //This will update registry
    15   gst_init (&argc, &argv);  
    11   gst_init (&argc, &argv);  
    16   gst_deinit();
       
    17   return 0;
    12   return 0;
    18 }
    13 }