gst1: Replace RANK_SECONDARY with Rank.SECONDARY
This commit is contained in:
parent
a2b009c581
commit
38bcdae1bf
@ -423,7 +423,7 @@ class Audio(pykka.ThreadingActor):
|
||||
registry = Gst.Registry.get()
|
||||
jacksink = registry.find_feature('jackaudiosink', Gst.ElementFactory)
|
||||
if jacksink:
|
||||
jacksink.set_rank(Gst.RANK_SECONDARY)
|
||||
jacksink.set_rank(Gst.Rank.SECONDARY)
|
||||
|
||||
def _setup_playbin(self):
|
||||
playbin = Gst.ElementFactory.make('playbin')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user