scanner: formatting to make travis / tox / flake8 happy
This commit is contained in:
parent
6379f76889
commit
2d6f00b912
@ -197,8 +197,8 @@ def _process(pipeline, timeout_ms):
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=763553:
|
||||
# try to start pipeline playing; if it doesn't then
|
||||
# give up:
|
||||
) or ( pipeline.set_state(Gst.State.PLAYING)
|
||||
== Gst.StateChangeReturn.FAILURE):
|
||||
) or (pipeline.set_state(Gst.State.PLAYING) ==
|
||||
Gst.StateChangeReturn.FAILURE):
|
||||
return tags, mime, have_audio, duration
|
||||
elif message.type == Gst.MessageType.DURATION_CHANGED:
|
||||
# duration will be read after ASYNC_DONE received; for now
|
||||
|
||||
Loading…
Reference in New Issue
Block a user