Skip to content
Snippets Groups Projects
Commit 31923d31 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf
Browse files

aout: dec: reset the stream on restart

stream_Reset() will reset the clock and internal timings. It is
necessary since the aout module stopped and started.

This fixes incoherent timings when after aout_RestartRequest().
parent 64189b6e
No related branches found
No related tags found
1 merge request!5342aout: dec: reset the stream on restart
Pipeline #467142 passed with warnings with stage
in 17 minutes and 31 seconds
......@@ -384,6 +384,8 @@ static int stream_CheckReady (vlc_aout_stream *stream)
* change from the user. */
if ((restart & AOUT_RESTART_OUTPUT_DEC) == AOUT_RESTART_OUTPUT_DEC)
status = AOUT_DEC_CHANGED;
stream_Reset(stream);
}
else if (tracer != NULL)
vlc_tracer_TraceEvent(tracer, "RENDER", stream->str_id, "filters_restart");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment