[vlc-commits] commit: Fixed program selection in TS demuxer. (Laurent Aimar )

git at videolan.org git at videolan.org
Mon Jun 28 21:26:53 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jun 28 00:53:57 2010 +0200| [871731a028baebf07e9fa1578c21fc800aac741b] | committer: Laurent Aimar 

Fixed program selection in TS demuxer.

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

 modules/demux/ts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index bcaa630..8df74b2 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -1400,7 +1400,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                 }
             }
         }
-        else
+        else if( i_int <= 0 )
         {
             p_sys->i_current_program = -1;
             p_sys->programs_list.i_count = 0;



More information about the vlc-commits mailing list