Commit 1ca91e71 authored by Johan Bilien's avatar Johan Bilien

* 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.
parent 57240036
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* mpeg_ps.c : Program Stream input module for vlc * mpeg_ps.c : Program Stream input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * 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> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -141,8 +141,6 @@ static int PSInit( input_thread_t * p_input ) ...@@ -141,8 +141,6 @@ static int PSInit( input_thread_t * p_input )
p_input->stream.p_selected_program = p_input->stream.p_selected_program =
p_input->stream.pp_programs[0] ; p_input->stream.pp_programs[0] ;
p_input->stream.p_new_program =
p_input->stream.pp_programs[0] ;
if( p_input->stream.b_seekable ) if( p_input->stream.b_seekable )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment