Commit 721218c5 authored by Antoine Cellerier's avatar Antoine Cellerier

Fix --stop-time.

Looks like p_input->i_time is only used for --stop-time. Is that normal?
parent 04193d50
......@@ -678,6 +678,7 @@ static void MainLoopInterface( input_thread_t *p_input )
if( demux_Control( p_input->p->input.p_demux,
DEMUX_GET_TIME, &i_time ) )
i_time = 0;
p_input->i_time = i_time;
if( demux_Control( p_input->p->input.p_demux,
DEMUX_GET_LENGTH, &i_length ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment