Added support for using libswscale

This commit is contained in:
Robert Osfield
2009-03-04 11:05:55 +00:00
parent 97e987a9d9
commit fb54fd0a69
6 changed files with 99 additions and 34 deletions

View File

@@ -45,7 +45,9 @@ public:
if (! acceptsExtension(ext))
return ReadResult::FILE_NOT_HANDLED;
const std::string path = osgDB::findDataFile(filename, options);
const std::string path = osgDB::containsServerAddress(filename) ?
filename :
osgDB::findDataFile(filename, options);
if (path.empty())
return ReadResult::FILE_NOT_FOUND;