gst1: Replace BUS_DROP with BusSyncReply.DROP
This commit is contained in:
parent
a0714455cd
commit
f95e307ba0
@ -690,7 +690,7 @@ class Audio(pykka.ThreadingActor):
|
||||
"""
|
||||
def sync_handler(bus, message):
|
||||
self._handler.on_message(bus, message)
|
||||
return Gst.BUS_DROP
|
||||
return Gst.BusSyncReply.DROP
|
||||
|
||||
bus = self._playbin.get_bus()
|
||||
bus.set_sync_handler(sync_handler)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user