mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
dashdemux: ensure segments aren't fetched before they're available
Incorrect time scaling in gst_dash_demux_wait_for_fragment_to_be_available() means that media segments are fetched before their availablity time. This patch fixes this. https://bugzilla.gnome.org/show_bug.cgi?id=724875
This commit is contained in:
parent
fc34d163d8
commit
6342d225bf
1 changed files with 1 additions and 2 deletions
|
@ -1834,8 +1834,7 @@ gst_dash_demux_wait_for_fragment_to_be_available (GstDashDemux * demux,
|
|||
gint64 diff;
|
||||
|
||||
cur_time = gst_date_time_new_now_utc ();
|
||||
diff = gst_mpd_client_calculate_time_difference (cur_time, seg_end_time)
|
||||
/ GST_MSECOND;
|
||||
diff = gst_mpd_client_calculate_time_difference (cur_time, seg_end_time);
|
||||
gst_date_time_unref (seg_end_time);
|
||||
gst_date_time_unref (cur_time);
|
||||
if (diff > 0) {
|
||||
|
|
Loading…
Reference in a new issue