Add audioconvert to output pipeline to avoid gst.LinkError: <enum GST_PAD_LINK_NOFORMAT of type GstPadLinkReturn>
This commit is contained in:
parent
8203d45559
commit
a969daf046
@ -64,11 +64,12 @@ class GStreamerProcess(BaseProcess):
|
||||
messages_thread.start()
|
||||
|
||||
self.gst_pipeline = gst.parse_launch(' ! '.join([
|
||||
'audioconvert name=convert',
|
||||
'volume name=volume',
|
||||
'autoaudiosink'
|
||||
]))
|
||||
|
||||
pad = self.gst_pipeline.get_by_name('volume').get_pad('sink')
|
||||
pad = self.gst_pipeline.get_by_name('convert').get_pad('sink')
|
||||
|
||||
if settings.BACKENDS[0] == 'mopidy.backends.local.LocalBackend':
|
||||
uri_bin = gst.element_factory_make('uridecodebin', 'uri')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user