[vlc-devel] commit: Fixed a too restrictive assert on vout pause. (Laurent Aimar )

git version control git at videolan.org
Sun Sep 28 13:54:05 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Sep 28 13:43:28 2008 +0200| [7e96fc33c0a0a8db00aca3cd25ad371b9656bb8b] | committer: Laurent Aimar 

Fixed a too restrictive assert on vout pause.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7e96fc33c0a0a8db00aca3cd25ad371b9656bb8b
---

 src/video_output/video_output.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 1cc38b7..ca5bcd1 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -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;




More information about the vlc-devel mailing list