Commit 7e96fc33 authored by Laurent Aimar's avatar Laurent Aimar

Fixed a too restrictive assert on vout pause.

parent 4b6c78a5
......@@ -587,7 +587,7 @@ void vout_ChangePause( vout_thread_t *p_vout, bool b_paused, mtime_t i_date )
{
vlc_object_lock( p_vout );
assert( (!p_vout->p->b_paused) != (!b_paused) );
assert( !p_vout->p->b_paused || !b_paused );
if( p_vout->p->b_paused )
{
const mtime_t i_duration = i_date - p_vout->p->i_pause_date;
......
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