From c5c71f519cb57ff47dfa636a4915510802672f58 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 25 Jun 2009 13:10:31 +0000 Subject: [PATCH] From Serge Lages, "Here is a little fix for the FFmpeg plugin. Previously the path computed by osgDB::findDataFile was not used, preventing loading files from directories inside the data path list." --- src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp b/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp index c507fe10f..cfc22da1d 100644 --- a/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp +++ b/src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp @@ -80,7 +80,7 @@ public: if (path.empty()) return ReadResult::FILE_NOT_FOUND; - return readImageStream(filename, options); + return readImageStream(path, options); } ReadResult readImageStream(const std::string& filename, const osgDB::ReaderWriter::Options * options) const