Hi Paul,

This sounds like a bug, the ffmpeg plugin should not attempt to load a
png file.  What exactly happens?

As for changing the order, simple pre load the png plugin as this will
ensure it gets called first thanks to the Chain-Of-Responsibility
pattern used by it.

Robert

On 10 May 2015 at 23:49, Paul <[email protected]> wrote:
> OSG-3.3.7
>
> both plugins osgdb_png and osgdb_ffmpeg loaded.
> osgDB::readImageFile("image.png") chooses ffmpeg over libpng to load .png 
> image files.
>
> I checked ReaderWriterFFmpeg.cpp, and it does not add the .png extention.
>
> How do I give libpng priority on .png files. Thanks :)
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=63688#63688
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to