From 1836a62016dbf1c5cceab59233e67fdb9028ac3d Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 9 Apr 1997 15:54:54 +0000 Subject: [PATCH] NewMovieFromFile has extra parameter and return value --- Mac/Demo/quicktime/MovieInWindow.py | 2 +- Mac/Demo/quicktime/VerySimplePlayer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Mac/Demo/quicktime/MovieInWindow.py b/Mac/Demo/quicktime/MovieInWindow.py index 5caa7e868c0..ef767a55531 100644 --- a/Mac/Demo/quicktime/MovieInWindow.py +++ b/Mac/Demo/quicktime/MovieInWindow.py @@ -58,7 +58,7 @@ def playMovieInWindow(theWindow, theFile, movieBox): def loadMovie(theFile): """Load a movie given an fsspec. Return the movie object""" movieResRef = Qt.OpenMovieFile(theFile, 1) - movie, dummy = Qt.NewMovieFromFile(movieResRef, QuickTime.newMovieActive) + movie, d1, d2 = Qt.NewMovieFromFile(movieResRef, 0, QuickTime.newMovieActive) return movie if __name__ == '__main__': diff --git a/Mac/Demo/quicktime/VerySimplePlayer.py b/Mac/Demo/quicktime/VerySimplePlayer.py index d3573423343..6e031c20095 100644 --- a/Mac/Demo/quicktime/VerySimplePlayer.py +++ b/Mac/Demo/quicktime/VerySimplePlayer.py @@ -84,7 +84,7 @@ def main(): def loadMovie(theFile): """Load a movie given an fsspec. Return the movie object""" movieResRef = Qt.OpenMovieFile(theFile, 1) - movie, dummy = Qt.NewMovieFromFile(movieResRef, QuickTime.newMovieActive) + movie, d1, d2 = Qt.NewMovieFromFile(movieResRef, 0, QuickTime.newMovieActive) return movie if __name__ == '__main__':