After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 639427 - remuxer.py: allow more than one stream of the same type
remuxer.py: allow more than one stream of the same type
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
unspecified
Other All
: Normal normal
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-13 15:00 UTC by Vincent Penquerc'h
Modified: 2011-09-26 16:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
remuxer.py: allow more than one stream of the same type (1.05 KB, patch)
2011-01-13 15:00 UTC, Vincent Penquerc'h
needs-work Details | Review

Description Vincent Penquerc'h 2011-01-13 15:00:33 UTC
Queue names would collide otherwise, so add the pad name too, which
guarantees names will be unique.
Comment 1 Vincent Penquerc'h 2011-01-13 15:00:35 UTC
Created attachment 178232 [details] [review]
remuxer.py: allow more than one stream of the same type

Queue names would collide otherwise, so add the pad name too, which
guarantees names will be unique.
Comment 2 Tim-Philipp Müller 2011-09-26 16:28:06 UTC
Comment on attachment 178232 [details] [review]
remuxer.py: allow more than one stream of the same type

I'm not convinced that 

queue_subtitle/x-kate_/__main__+Remuxer:__main__+remuxer0/GstBin:bin0/GstOggDemux:oggdemux1.GstOggPad:serial_67f24fc7 (__main__.GstOggPad)

is a good name for an element ;-)

Is there any reason not to just pass None here?
Comment 3 Vincent Penquerc'h 2011-09-26 16:49:41 UTC
From what I recall, the issue was just duplicate generated names breaking causing a fatal error, so... passing NULL ought to be alright I suppose. Maybe I did not realize you could pass None for letting a name be selected by the lib at the time.

Trying it here, I get not-negotiated errors both with and without the patch, so something broke somewhere which means I can't test with None as name,  but I reckon it should be alright.

I'll queue the not-negotiated fix for later... :/
Comment 4 Tim-Philipp Müller 2011-09-26 16:59:42 UTC
Ok, pushed with None. Seems to work.


commit 160b6d1bd5e251a6d66a203a519db630528f60e3
Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Date:   Thu Jan 13 14:59:16 2011 +0000

    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