Commit 9e4b3f8d authored by Laurent Aimar's avatar Laurent Aimar

Always update the wakeup date in input.

parent fffc29ff
...@@ -816,13 +816,9 @@ static void MainLoop( input_thread_t *p_input ) ...@@ -816,13 +816,9 @@ static void MainLoop( input_thread_t *p_input )
i_statistic_update = i_current + INT64_C(1000000); i_statistic_update = i_current + INT64_C(1000000);
} }
/* Check if i_wakeup is still valid */ /* Update the wakeup time */
if( i_wakeup != 0 ) if( i_wakeup != 0 )
{ i_wakeup = es_out_GetWakeup( p_input->p->p_es_out );
mtime_t i_new_wakeup = es_out_GetWakeup( p_input->p->p_es_out );
if( !i_new_wakeup )
i_wakeup = 0;
}
} while( i_current < i_wakeup ); } while( i_current < i_wakeup );
} }
......
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