Commit 43410ee3 authored by Gildas Bazin's avatar Gildas Bazin

* src/input/clock.c: reverted 13220.

parent b3d9b331
...@@ -272,10 +272,9 @@ void input_ClockSetPCR( input_thread_t *p_input, ...@@ -272,10 +272,9 @@ void input_ClockSetPCR( input_thread_t *p_input,
} }
else else
{ {
mtime_t clock_max_gap = CR_MAX_GAP * 90 / p_input->i_rate;
if ( cl->last_cr != 0 && if ( cl->last_cr != 0 &&
( (cl->last_cr - i_clock) > clock_max_gap ( (cl->last_cr - i_clock) > CR_MAX_GAP
|| (cl->last_cr - i_clock) < - clock_max_gap ) ) || (cl->last_cr - i_clock) < - CR_MAX_GAP ) )
{ {
/* Stream discontinuity, for which we haven't received a /* Stream discontinuity, for which we haven't received a
* warning from the stream control facilities (dd-edited * warning from the stream control facilities (dd-edited
......
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