Ticket #14855: potentialPegasusQTpatch.diff

File potentialPegasusQTpatch.diff, 1.0 KB (added by antoniou79, 10 months ago)
  • engines/pegasus/movie.cpp

    diff --git a/engines/pegasus/movie.cpp b/engines/pegasus/movie.cpp
    index a2f799b8a65..c1fbe16ecee 100644
    a b void Movie::initFromMovieFile(const Common::Path &fileName, bool transparent) {  
    5858
    5959        releaseMovie();
    6060        _video = new Video::QuickTimeDecoder();
     61        _video->enableEditListBoundsCheckQuirk(true);
    6162        if (!_video->loadFile(fileName)) {
    6263                // Replace any colon with an underscore, since only macOS
    6364                // supports that. See PegasusEngine::detectOpeningClosingDirectory()
  • engines/pegasus/movie.h

    diff --git a/engines/pegasus/movie.h b/engines/pegasus/movie.h
    index 20427769389..6fe79e4b706 100644
    a b  
    2929
    3030#include "pegasus/elements.h"
    3131#include "pegasus/surface.h"
     32#include "video/qt_decoder.h"
    3233
    3334namespace Video {
    3435class VideoDecoder;
    public:  
    7273protected:
    7374        void updateTime() override;
    7475
    75         Video::VideoDecoder *_video;
     76        Video::QuickTimeDecoder *_video;
    7677        Common::Rect _movieBox;
    7778};
    7879