mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-04 08:17:40 +00:00
GRIM: Fix .ogv player regression... sort of
After discussing with lephilousophe, the .ogv player (used by the remastered version of Grim Fandango) once again finds the movie it's looking for. Unfortunately, the player doesn't work at all for me, making the game less playable than before. But it's how 2.8 behaves, so there's that.
This commit is contained in:
parent
b9b305844f
commit
d4c91352eb
@ -60,15 +60,11 @@ bool SmushPlayer::loadFile(const Common::String &filename) {
|
||||
|
||||
if (!success) {
|
||||
#if defined (USE_THEORADEC)
|
||||
Common::Path theoraFilename(filename);
|
||||
|
||||
Common::String baseName(theoraFilename.baseName());
|
||||
Common::String baseName(filename);
|
||||
baseName.erase(baseName.size() - 4);
|
||||
baseName += ".ogv";
|
||||
|
||||
theoraFilename = "MoviesHD";
|
||||
theoraFilename.join(theoraFilename.getParent());
|
||||
theoraFilename.appendComponent(baseName);
|
||||
Common::Path theoraFilename(Common::Path("MoviesHD").appendComponent(baseName));
|
||||
|
||||
debug(2, "Trying to open %s", theoraFilename.toString().c_str());
|
||||
success = _theoraDecoder->loadFile(theoraFilename);
|
||||
|
Loading…
Reference in New Issue
Block a user