mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
GOB: Don't not play videos with only sound
svn-id: r55349
This commit is contained in:
parent
75c840b527
commit
3976342ec0
@ -114,7 +114,8 @@ int VideoPlayer::openVideo(bool primary, const Common::String &file, Properties
|
||||
if (!(video->decoder = openVideo(file, properties)))
|
||||
return -1;
|
||||
|
||||
if (video->decoder->isPaletted() != !_vm->isTrueColor()) {
|
||||
if (video->decoder->hasVideo() && !(properties.flags & kFlagNoVideo) &&
|
||||
(video->decoder->isPaletted() != !_vm->isTrueColor())) {
|
||||
if (!properties.switchColorMode)
|
||||
return -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user