Commit 252ae28d authored by Laurent Aimar's avatar Laurent Aimar

Fixed too restrictive assert in decoder.

parent a8a08ded
...@@ -486,7 +486,7 @@ void input_DecoderChangePause( decoder_t *p_dec, bool b_paused, mtime_t i_date ) ...@@ -486,7 +486,7 @@ void input_DecoderChangePause( decoder_t *p_dec, bool b_paused, mtime_t i_date )
vlc_mutex_lock( &p_owner->lock ); vlc_mutex_lock( &p_owner->lock );
assert( (!p_owner->b_paused) != (!b_paused) ); assert( !p_owner->b_paused || !b_paused );
p_owner->b_paused = b_paused; p_owner->b_paused = b_paused;
p_owner->i_pause_date = i_date; p_owner->i_pause_date = i_date;
if( p_owner->b_own_thread ) if( p_owner->b_own_thread )
......
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