- Timestamp:
- 03/25/09 00:25:30 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp
r9965 r9968 31 31 supportsProtocol("http","Read video/audio from http using ffmpeg."); 32 32 33 supportsExtension("ffmpeg", ""); 33 34 supportsExtension("avi", ""); 34 35 supportsExtension("flv", ""); … … 56 57 virtual ReadResult readImage(const std::string & filename, const osgDB::ReaderWriter::Options * options) const 57 58 { 59 const std::string ext = osgDB::getLowerCaseFileExtension(filename); 60 if (ext=="ffmpeg") return readImage(osgDB::getNameLessExtension(filename),options); 61 58 62 if (filename.compare(0, 5, "/dev/")==0) 59 63 { … … 61 65 } 62 66 63 const std::string ext = osgDB::getLowerCaseFileExtension(filename);64 67 if (! acceptsExtension(ext)) 65 68 return ReadResult::FILE_NOT_HANDLED;
