[vlc-commits] switcher: remove support for fake codec

Rémi Denis-Courmont git at videolan.org
Wed Apr 13 16:10:51 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 13 17:05:39 2011 +0300| [082e66a855a9c2935daa0de37d5bc1ebbdc03850] | committer: Rémi Denis-Courmont

switcher: remove support for fake codec

That codec cannot occur anymore.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=082e66a855a9c2935daa0de37d5bc1ebbdc03850
---

 modules/stream_out/switcher.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/stream_out/switcher.c b/modules/stream_out/switcher.c
index 9ee8528..18f281e 100644
--- a/modules/stream_out/switcher.c
+++ b/modules/stream_out/switcher.c
@@ -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;



More information about the vlc-commits mailing list