mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
remuxer.py: allow more than one stream of the same type
Queue names would collide otherwise, so just pass None for now. Also guarantees that we don't get silly names like "queue_audio/x-foobar". https://bugzilla.gnome.org/show_bug.cgi?id=639427
This commit is contained in:
parent
3e3795068e
commit
160b6d1bd5
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ class RemuxBin(gst.Bin):
|
|||
self.async_error("Unsupported media type: %s", format)
|
||||
return
|
||||
|
||||
queue = gst.element_factory_make('queue', 'queue_' + format)
|
||||
queue = gst.element_factory_make('queue', None);
|
||||
queue.set_property('max-size-buffers', 1000)
|
||||
parser = gst.element_factory_make(self.parsefactories[format])
|
||||
self.add(queue)
|
||||
|
|
Loading…
Reference in a new issue