mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
NewMovieFromFile has extra parameter and return value
This commit is contained in:
parent
e0cf87b20d
commit
1836a62016
2 changed files with 2 additions and 2 deletions
|
@ -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__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue