matroskademux: make stream-id more readable and order-friendly

... as streams are so ordered by id by e.g. decodebin
(and as typically already honoured by other demuxers).
This commit is contained in:
Mark Nauwelaerts 2016-02-22 13:53:21 +01:00
parent 7456ee1e1b
commit afad769c78

View file

@ -1295,7 +1295,8 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux, GstEbmlRead * ebml)
stream_id =
gst_pad_create_stream_id_printf (context->pad, GST_ELEMENT_CAST (demux),
"%03" G_GUINT64_FORMAT, context->uid);
"%03" G_GUINT64_FORMAT ":%03" G_GUINT64_FORMAT,
context->num, context->uid);
stream_start =
gst_pad_get_sticky_event (demux->common.sinkpad, GST_EVENT_STREAM_START,
0);