mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
validate:launcher: Treat min-media-duration as a float
This commit is contained in:
parent
b59cc63de7
commit
91b3001f77
1 changed files with 1 additions and 1 deletions
|
@ -1348,7 +1348,7 @@ class Scenario(object):
|
||||||
|
|
||||||
def get_min_media_duration(self):
|
def get_min_media_duration(self):
|
||||||
if hasattr(self, "min_media_duration"):
|
if hasattr(self, "min_media_duration"):
|
||||||
return long(self.min_media_duration)
|
return float(self.min_media_duration)
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue