mirror of
https://github.com/beetbox/beets.git
synced 2026-01-05 15:33:15 +01:00
bpd: use pygst.require() before importing gst
A user reports that this fixes BPD on OS X.
This commit is contained in:
parent
a9fc483a36
commit
749b19955e
1 changed files with 4 additions and 1 deletions
|
|
@ -17,7 +17,6 @@ music player.
|
|||
"""
|
||||
from __future__ import print_function
|
||||
|
||||
import gst
|
||||
import sys
|
||||
import time
|
||||
import gobject
|
||||
|
|
@ -26,6 +25,10 @@ import os
|
|||
import copy
|
||||
import urllib
|
||||
|
||||
import pygst
|
||||
pygst.require('0.10')
|
||||
import gst
|
||||
|
||||
class GstPlayer(object):
|
||||
"""A music player abstracting GStreamer's Playbin element.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue