[vlc-commits] demux: ts: fix scrambled state debug output

Francois Cartegnie git at videolan.org
Thu Aug 6 17:30:20 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Aug  1 17:35:10 2015 +0200| [8ce77ce85e48c268312cbba32886b953b6ef4237] | committer: Francois Cartegnie

demux: ts: fix scrambled state debug output

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

 modules/demux/mpeg/ts.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index 9b0f7c0..2f65c1c 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -2595,7 +2595,7 @@ static void UpdateScrambledState( demux_t *p_demux, ts_pid_t *p_pid, bool b_scra
         return;
 
     msg_Warn( p_demux, "scrambled state changed on pid %d (%d->%d)",
-              p_pid->i_pid, SCRAMBLED(*p_pid), b_scrambled );
+              p_pid->i_pid, !!SCRAMBLED(*p_pid), b_scrambled );
 
     if( b_scrambled )
         p_pid->i_flags |= FLAG_SCRAMBLED;



More information about the vlc-commits mailing list