[osg-users] [osgPlugins] osgDB::readImageFile() chooses ffmpeg over libpng

Paul aquawicket at hotmail.com
Fri Jun 5 16:49:31 PDT 2015


I'm working on this today..  And I've noticed..  it's not just .png files.   If I use osgdb_ffmpeg, it takes over ALL images. 

I'm attempting to walk through the call stack..


Code:

starting here...
Registry.cpp - line 992
ReadImageFunctor(const std::string& filename, const Options* options):ReadFunctor(filename,options) {}


ending up here...
ReaderWriterFFmpeg.cpp - line 136
virtual ReadResult readImage(const std::string & filename, const osgDB::ReaderWriter::Options* options) const





It appears that the plugins are iterated and FFMPEG is allways selected for ReadImage()
I'm having a hard time locating where exactly the plugin is selected. [/code]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63962#63962








More information about the osg-users mailing list