gst1: Replace BUS_DROP with BusSyncReply.DROP

This commit is contained in:
Stein Magnus Jodal 2015-09-02 02:05:59 +02:00
parent a0714455cd
commit f95e307ba0

View File

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