added gstreamer command line option processing

This commit is contained in:
maroy 2005-06-20 11:51:29 +00:00
parent 15696dd330
commit 592562cccf

View file

@ -22,7 +22,7 @@
Author : $Author: maroy $ Author : $Author: maroy $
Version : $Revision: 1.1 $ Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/gstreamerElements/src/TestRunner.cxx,v $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/gstreamerElements/src/TestRunner.cxx,v $
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
@ -45,6 +45,8 @@
#error "Need getopt.h" #error "Need getopt.h"
#endif #endif
#include <gst/gst.h>
#include <fstream> #include <fstream>
#include <cppunit/BriefTestProgressListener.h> #include <cppunit/BriefTestProgressListener.h>
@ -144,6 +146,9 @@ int
main( int argc, main( int argc,
char * argv[] ) throw () char * argv[] ) throw ()
{ {
// initialize the gst parameters
gst_init(&argc, &argv);
if (!processArguments(argc, argv)) { if (!processArguments(argc, argv)) {
return 0; return 0;
} }