audio: pipeline.add_many() is deprecated

This commit is contained in:
Thomas Adamcik 2015-03-26 21:54:23 +01:00
parent 85f11baa41
commit 7e66b719ea

View File

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