Commit 082e66a8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

switcher: remove support for fake codec

That codec cannot occur anymore.
parent 070668f1
...@@ -319,9 +319,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt ) ...@@ -319,9 +319,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
if( !id ) if( !id )
return NULL; return NULL;
if( p_fmt->i_cat == VIDEO_ES && if( p_fmt->i_cat == VIDEO_ES && p_fmt->i_codec == VLC_CODEC_MPGV )
( p_fmt->i_codec == VLC_CODEC_MPGV ||
p_fmt->i_codec == VLC_FOURCC('f', 'a', 'k', 'e') ) )
{ {
id->b_switcher_video = true; id->b_switcher_video = true;
p_fmt->i_codec = VLC_CODEC_MPGV; p_fmt->i_codec = VLC_CODEC_MPGV;
......
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