mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
Use %03u instead of %u in gst_pad_create_stream_id_printf()
This commit is contained in:
parent
2e38f24b56
commit
f8bbe696f5
2 changed files with 2 additions and 2 deletions
|
@ -2376,7 +2376,7 @@ gst_asf_demux_activate_stream (GstASFDemux * demux, AsfStream * stream)
|
|||
|
||||
stream_id =
|
||||
gst_pad_create_stream_id_printf (stream->pad, GST_ELEMENT_CAST (demux),
|
||||
"%u", stream->id);
|
||||
"%03u", stream->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);
|
||||
|
|
|
@ -1496,7 +1496,7 @@ gst_rmdemux_add_stream (GstRMDemux * rmdemux, GstRMDemuxStream * stream)
|
|||
|
||||
stream_id =
|
||||
gst_pad_create_stream_id_printf (stream->pad,
|
||||
GST_ELEMENT_CAST (rmdemux), "%u", stream->id);
|
||||
GST_ELEMENT_CAST (rmdemux), "%03u", stream->id);
|
||||
gst_pad_push_event (stream->pad, gst_event_new_stream_start (stream_id));
|
||||
g_free (stream_id);
|
||||
|
||||
|
|
Loading…
Reference in a new issue