gst1: Update query_new_duration()

This commit is contained in:
Stein Magnus Jodal 2015-09-02 00:57:12 +02:00
parent 6c59205efe
commit aa3650bf34

View File

@ -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]