i’m using uridecodebin3 and create pads for all streams by returning -1
from the select-stream
handler.
how do i associate a pad with a stream?
observations:
- the streams order is consistent across different invocations: if my media has the stream order
[v1, a1, t1, v2, a2, t2]
, the bothGST_MESSAGE_STREAM_COLLECTION
andGST_MESSAGE_STREAMS_SELECTED
return the streams in the correct order. - when the pads are added, the stream ordering is not consistent anymore. i.e. the pad
audio_0
can contain the data from streama1
ora2
how can i find out which pad corresponds to which pad in order to provide a consistent stream order to the application?