mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
Fixed wrong index in fragments
This commit is contained in:
parent
8e9ba056d7
commit
41733d8296
1 changed files with 2 additions and 1 deletions
|
@ -1524,7 +1524,8 @@ gst_dash_demux_get_next_fragment_set (GstDashDemux * demux)
|
|||
gst_mpdparser_get_active_stream_by_index (demux->client, stream_idx);
|
||||
if (stream == NULL)
|
||||
return FALSE;
|
||||
download->index = stream->segment_idx;
|
||||
/* FIXME: we should'nt fiddle with stream internals like that */
|
||||
download->index = stream->segment_idx -1;
|
||||
|
||||
GstCaps *caps = gst_dash_demux_get_input_caps (demux, stream);
|
||||
|
||||
|
|
Loading…
Reference in a new issue