From cbebb01f23f9d7938e800aec25659c42594a3cf9 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 25 Oct 2012 16:49:21 +0200 Subject: [PATCH] dashdemux: use new gst_mpd_client_get_next_fragment_duration API This fixes build that has been broken by commit fb9aeac6552021b176a4c4bd07265e02a0b70e0f. gst_mpd_client_get_target_duration has been removed, and gst_mpd_client_get_next_fragment_duration should be used instead. --- ext/dash/gstdashdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index 0b6f25b288..ee5ec075d0 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -1000,7 +1000,7 @@ gst_dash_demux_stream_loop (GstDashDemux * demux) /* Wait for the duration of a fragment before resuming this task */ g_get_current_time (&demux->next_push); g_time_val_add (&demux->next_push, - gst_mpd_client_get_target_duration (demux->client) + gst_mpd_client_get_next_fragment_duration (demux->client) / GST_SECOND * G_USEC_PER_SEC); GST_DEBUG_OBJECT (demux, "Next push scheduled at %s", g_time_val_to_iso8601 (&demux->next_push));