try to use mini movie for files where gstreamer is not able to seek

This commit is contained in:
j 2007-12-29 09:45:12 +00:00
parent fcfe8b446b
commit f44fad40a1

View file

@ -512,7 +512,10 @@ class ArchiveFile(SQLObject):
def extractPosterStill(self, position):
oxdb_makedir(dirname(self.posterStillFile))
extract_poster_still(self.absolutePath, self.posterStillFile, position)
mFile = self.absolutePath
if mFile.endswith('.mov') or mFile.endswith('.mpg'):
mFile = self.mini_movie_file
extract_poster_still(mFile, self.posterStillFile, position)
def extractClipMovie(self, force = False):
if self.broken: