summaryrefslogtreecommitdiffstats
path: root/Mac/Demo
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-04-09 15:54:54 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-04-09 15:54:54 (GMT)
commit1836a62016dbf1c5cceab59233e67fdb9028ac3d (patch)
treee9dfd2d23d8cb895793f08a360df31ff221719f1 /Mac/Demo
parente0cf87b20df201400315a36dde232ec2152908cb (diff)
downloadcpython-1836a62016dbf1c5cceab59233e67fdb9028ac3d.zip
cpython-1836a62016dbf1c5cceab59233e67fdb9028ac3d.tar.gz
cpython-1836a62016dbf1c5cceab59233e67fdb9028ac3d.tar.bz2
NewMovieFromFile has extra parameter and return value
Diffstat (limited to 'Mac/Demo')
-rw-r--r--Mac/Demo/quicktime/MovieInWindow.py2
-rw-r--r--Mac/Demo/quicktime/VerySimplePlayer.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Demo/quicktime/MovieInWindow.py b/Mac/Demo/quicktime/MovieInWindow.py
index 5caa7e8..ef767a5 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 d357342..6e031c2 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__':