Hi OSG-Community
I have tried to remove the argument parsing from the osgMovie example as
I don't want to use the command line. However I keep getting a
segmentation fault when I try to read my .avi file, using the following
line:
osg::Image* image =
osgDB::readImageFile("/home/tmcmillan/Desktop/Africa.avi");
However this seg faults sine I believe the DB does not recognize
the .avi extestion. I thought this would work as this seems to be what
the argument from the command line is passed to the readImageFile class.
But my knowledge regarding argument passing is still nowhere above
novice.
So I did some digging and thought I should used the following method:
sg::Image* readImageFile(const std::string& filename,const
ReaderWriter::Options* options);
However I'm unsure how to link the xine plugin to the 'options'.
Thanks
Tristan
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/