diff --git a/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux.c b/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux.c index 0cf7a346bc..6e45c34b0f 100644 --- a/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux.c +++ b/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux.c @@ -1303,7 +1303,7 @@ gst_hlsdemux_handle_internal_time (GstHLSDemux * demux, g_assert (current_stream_time >= 0); if (hls_stream->parser_type == GST_HLS_PARSER_ISOBMFF) - hls_stream->presentation_offset = internal_time; + hls_stream->presentation_offset = internal_time - current_stream_time; map->stream_time = current_stream_time; map->internal_time = internal_time;