Commit 16bc6fb1 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

EsOutDecodersStopBuffering: remove assert

The master program clock does not necessarily have a reference
A different program PCR can be issued first, and the assertion
would be triggered since c3bd897e

(cherry picked from commit 8bb2d53a5a98770ab29baeb4581a5d90cafd3411)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent d5a5e34d
...@@ -603,11 +603,9 @@ static void EsOutDecodersStopBuffering( es_out_t *out, bool b_forced ) ...@@ -603,11 +603,9 @@ static void EsOutDecodersStopBuffering( es_out_t *out, bool b_forced )
mtime_t i_system_start; mtime_t i_system_start;
mtime_t i_stream_duration; mtime_t i_stream_duration;
mtime_t i_system_duration; mtime_t i_system_duration;
i_ret = input_clock_GetState( p_sys->p_pgrm->p_clock, if (input_clock_GetState( p_sys->p_pgrm->p_clock,
&i_stream_start, &i_system_start, &i_stream_start, &i_system_start,
&i_stream_duration, &i_system_duration ); &i_stream_duration, &i_system_duration ))
assert( !i_ret || b_forced );
if( i_ret )
return; return;
mtime_t i_preroll_duration = 0; mtime_t i_preroll_duration = 0;
......
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