[vlc-devel] commit: Fixed too restrictive assert in decoder. (Laurent Aimar )
git version control
git at videolan.org
Tue Sep 30 22:54:12 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Sep 30 22:57:21 2008 +0200| [252ae28d9c7dcf276989e861e64768f5f99c705e] | committer: Laurent Aimar
Fixed too restrictive assert in decoder.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=252ae28d9c7dcf276989e861e64768f5f99c705e
---
src/input/decoder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index 1224135..d08192d 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -486,7 +486,7 @@ void input_DecoderChangePause( decoder_t *p_dec, bool b_paused, mtime_t i_date )
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->i_pause_date = i_date;
if( p_owner->b_own_thread )
More information about the vlc-devel
mailing list