switcher: remove support for fake codec

That codec cannot occur anymore.
This commit is contained in:
Rémi Denis-Courmont 2011-04-13 17:05:39 +03:00
parent 070668f110
commit 082e66a855

View File

@ -319,9 +319,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
if( !id )
return NULL;
if( p_fmt->i_cat == VIDEO_ES &&
( p_fmt->i_codec == VLC_CODEC_MPGV ||
p_fmt->i_codec == VLC_FOURCC('f', 'a', 'k', 'e') ) )
if( p_fmt->i_cat == VIDEO_ES && p_fmt->i_codec == VLC_CODEC_MPGV )
{
id->b_switcher_video = true;
p_fmt->i_codec = VLC_CODEC_MPGV;