From: Johan Bilien Date: Wed, 10 Apr 2002 17:47:58 +0000 (+0000) Subject: * fixed another bug in PS demux : the first program added was at the X-Git-Tag: 0.3.1~18 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=1ca91e7134db4baa4efe47456f83d0d1f24c09f3;p=vlc * fixed another bug in PS demux : the first program added was at the same time declared as the current program and as a new program, which made the ES be selected two times. --- diff --git a/plugins/mpeg_system/mpeg_ps.c b/plugins/mpeg_system/mpeg_ps.c index 64c23d9f6d..a2d45e07e6 100644 --- a/plugins/mpeg_system/mpeg_ps.c +++ b/plugins/mpeg_system/mpeg_ps.c @@ -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 * @@ -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 ) {