Commit 406b8874 authored by Rocky Bernstein's avatar Rocky Bernstein

Not sure why (or if) this cvd subtitle selecting code is needed, but I

suppose it should look like the others. So they'll all be wrong
together.

 
parent 33b7101c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ps.c : Program Stream input module for vlc * ps.c : Program Stream input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2004, 2004 VideoLAN * Copyright (C) 2000-2004, 2004 VideoLAN
* $Id: ps.c,v 1.18 2004/03/03 20:39:52 gbazin Exp $ * $Id$
* *
* Author: Christophe Massiot <massiot@via.ecp.fr> * Author: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -271,6 +271,14 @@ static int Activate( vlc_object_t * p_this ) ...@@ -271,6 +271,14 @@ static int Activate( vlc_object_t * p_this )
} }
break; break;
case VLC_FOURCC('c','v','d',' '):
if( config_GetInt( p_input, "spu-channel" )
== (p_es->i_id & 0x0003) )
{
input_SelectES( p_input, p_es );
}
break;
case VLC_FOURCC('l','p','c','m'): case VLC_FOURCC('l','p','c','m'):
case VLC_FOURCC('l','p','c','b'): case VLC_FOURCC('l','p','c','b'):
if( config_GetInt( p_input, "audio-channel" ) if( config_GetInt( p_input, "audio-channel" )
......
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