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

git at videolan.org git at videolan.org
Tue Jul 6 13:08:21 CEST 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jun 28 00:53:57 2010 +0200| [08600a4c109180d96a4fcf23e9b111d14ec39e33] | committer: Jean-Baptiste Kempf 

Fixed program selection in TS demuxer.
(cherry picked from commit 871731a028baebf07e9fa1578c21fc800aac741b)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=08600a4c109180d96a4fcf23e9b111d14ec39e33
---

 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