gst1: Update query_new_duration()
This commit is contained in:
parent
6c59205efe
commit
aa3650bf34
@ -127,7 +127,7 @@ def _query_duration(pipeline):
|
||||
|
||||
|
||||
def _query_seekable(pipeline):
|
||||
query = Gst.query_new_seeking(Gst.Format.TIME)
|
||||
query = Gst.Query.new_seeking(Gst.Format.TIME)
|
||||
pipeline.query(query)
|
||||
return query.parse_seeking()[1]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user