diff -r 9b2c3c7a1a9c -r 567bb019e3e3 gstregistrygenerator/src/gstregistrygenerator.cpp --- a/gstregistrygenerator/src/gstregistrygenerator.cpp Wed Mar 31 22:03:18 2010 +0300 +++ b/gstregistrygenerator/src/gstregistrygenerator.cpp Tue Aug 31 15:30:33 2010 +0300 @@ -7,7 +7,12 @@ int main (int argc, char *argv[]) { + // To Update registry set GST_REGISTRY_UPDATE to yes. + // by default it will not update the registry.. + // if the registry is not present it will create registry. + setenv("GST_REGISTRY_UPDATE", "yes", 0); //This will update registry gst_init (&argc, &argv); + gst_deinit(); return 0; }