<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi Robert and all,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I'm currently using the ffmpeg plugin to load some movies - it works just fine but my application started generating a lot of errors on console like this:</div><div class="gmail_default"><font face="tahoma, sans-serif">> FFmpegImageStream::open : av_open_input_file() failed : AVERROR_NOENT</font></div><div class="gmail_default"><font face="tahoma, sans-serif">every time an image has to be loaded.</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">You can reproduce the issue with the modified osgMovie example in attach, which also loads the textured cow model.</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">Digging a bit I've seen that's because the file reading mechanism tries to read from all the already loaded plugins, reagardless of their extension(s) support.</font></div><div class="gmail_default"><font face="tahoma, sans-serif">See here: </font></div><div class="gmail_default"><font face="tahoma, sans-serif"><a href="https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/osgDB/Registry.cpp#L1176" target="_blank">https://github.com/<wbr>openscenegraph/OpenSceneGraph/<wbr>blob/master/src/osgDB/<wbr>Registry.cpp#L1176</a><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">I thought that the extension supported by each plugin was checked before trying to use it. </font></div><div class="gmail_default"><font face="tahoma, sans-serif">Besides the annoying errors on the console, wouldn't it be more efficient?</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">Thanks,</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Ricky</font></div></div>