diff options
author | Mark Nauwelaerts <mnauw@users.sourceforge.net> | 2016-02-22 13:53:21 +0100 |
---|---|---|
committer | Mark Nauwelaerts <mnauw@users.sourceforge.net> | 2016-02-22 16:06:11 +0100 |
commit | afad769c786c02a0cf5c1c3c63a9f4374636e66b (patch) | |
tree | 61745209ab2bf29ce3c9afb8ad064025e41f01b8 | |
parent | 7456ee1e1bb96144dd9dedb4b8c65036e484b5c7 (diff) | |
download | gstreamer-plugins-good-afad769c786c02a0cf5c1c3c63a9f4374636e66b.tar.gz |
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).
-rw-r--r-- | gst/matroska/matroska-demux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index be973d0dc..96700494a 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -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); |