]> git.sesse.net Git - vlc/commitdiff
* fixed another bug in PS demux : the first program added was at the
authorJohan Bilien <jobi@videolan.org>
Wed, 10 Apr 2002 17:47:58 +0000 (17:47 +0000)
committerJohan Bilien <jobi@videolan.org>
Wed, 10 Apr 2002 17:47:58 +0000 (17:47 +0000)
same time declared as the current program and as a new program, which
made the ES be selected two times.

plugins/mpeg_system/mpeg_ps.c

index 64c23d9f6dd047c35192f42878be75519bc28b38..a2d45e07e6e2aab656b1e15a35aeb058a6722e9c 100644 (file)
@@ -2,7 +2,7 @@
  * mpeg_ps.c : Program Stream input module for vlc
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: mpeg_ps.c,v 1.9 2002/04/04 22:51:01 massiot Exp $
+ * $Id: mpeg_ps.c,v 1.10 2002/04/10 17:47:58 jobi Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *
@@ -141,8 +141,6 @@ static int PSInit( input_thread_t * p_input )
     
     p_input->stream.p_selected_program = 
             p_input->stream.pp_programs[0] ;
-    p_input->stream.p_new_program = 
-            p_input->stream.pp_programs[0] ;
     
     if( p_input->stream.b_seekable )
     {