gstregistrygenerator/src/gstregistrygenerator.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 06 Jul 2010 14:35:10 +0300
changeset 23 29ecd5cb86b3
parent 8 4a7fac7dd34a
child 30 7e817e7e631c
permissions -rw-r--r--
Revision: 201025 Kit: 2010127

#include <gst/gst_global.h>
#include <stdlib.h>
#include <gst/gst.h>
#include <glib.h>
#include <string.h>

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;
}