audio: pipeline.add_many() is deprecated
This commit is contained in:
parent
85f11baa41
commit
7e66b719ea
@ -73,7 +73,8 @@ def _setup_pipeline(uri, proxy_config=None):
|
||||
sink = gst.element_factory_make('fakesink')
|
||||
|
||||
pipeline = gst.element_factory_make('pipeline')
|
||||
pipeline.add_many(src, typefind, decodebin, sink)
|
||||
for e in (src, typefind, decodebin, sink):
|
||||
pipeline.add(e)
|
||||
gst.element_link_many(src, typefind, decodebin)
|
||||
|
||||
if proxy_config:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user