gstregistrygenerator/src/gstregistrygenerator.cpp
changeset 8 4a7fac7dd34a
parent 2 5505e8908944
child 30 7e817e7e631c
equal deleted inserted replaced
7:71e347f905f2 8:4a7fac7dd34a
     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);
    10   //This will update registry
    14   //This will update registry
    11   gst_init (&argc, &argv);  
    15   gst_init (&argc, &argv);  
       
    16   gst_deinit();
    12   return 0;
    17   return 0;
    13 }
    18 }