mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Use %03u for format in gst_pad_create_stream_id_printf()
This commit is contained in:
parent
56062768af
commit
53f8b05b08
3 changed files with 3 additions and 3 deletions
|
@ -2359,7 +2359,7 @@ gst_avi_demux_parse_stream (GstAviDemux * avi, GstBuffer * buf)
|
|||
|
||||
gst_pad_set_active (pad, TRUE);
|
||||
stream_id =
|
||||
gst_pad_create_stream_id_printf (pad, GST_ELEMENT_CAST (avi), "%u",
|
||||
gst_pad_create_stream_id_printf (pad, GST_ELEMENT_CAST (avi), "%03u",
|
||||
avi->num_streams);
|
||||
gst_pad_push_event (pad, gst_event_new_stream_start (stream_id));
|
||||
g_free (stream_id);
|
||||
|
|
|
@ -5359,7 +5359,7 @@ gst_qtdemux_add_stream (GstQTDemux * qtdemux,
|
|||
GST_DEBUG_OBJECT (qtdemux, "setting caps %" GST_PTR_FORMAT, stream->caps);
|
||||
stream_id =
|
||||
gst_pad_create_stream_id_printf (stream->pad,
|
||||
GST_ELEMENT_CAST (qtdemux), "%u", stream->track_id);
|
||||
GST_ELEMENT_CAST (qtdemux), "%03u", stream->track_id);
|
||||
gst_pad_push_event (stream->pad, gst_event_new_stream_start (stream_id));
|
||||
g_free (stream_id);
|
||||
gst_pad_set_caps (stream->pad, stream->caps);
|
||||
|
|
|
@ -1370,7 +1370,7 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux, GstEbmlRead * ebml)
|
|||
|
||||
stream_id =
|
||||
gst_pad_create_stream_id_printf (context->pad, GST_ELEMENT_CAST (demux),
|
||||
"%u", context->uid);
|
||||
"%03u", context->uid);
|
||||
gst_pad_push_event (context->pad, gst_event_new_stream_start (stream_id));
|
||||
g_free (stream_id);
|
||||
gst_pad_set_caps (context->pad, context->caps);
|
||||
|
|
Loading…
Reference in a new issue