gstregistrygenerator/src/gstregistrygenerator.cpp
author hgs
Fri, 28 May 2010 18:11:17 -0500
changeset 21 5cb7d96a6887
parent 16 8e837d1bf446
child 30 7e817e7e631c
permissions -rw-r--r--
201021

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