added gstreamer command line option processing
This commit is contained in:
parent
15696dd330
commit
592562cccf
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue