]> git.sesse.net Git - vlc/commitdiff
Added speex check in RTSP (untested, close #1091)
authorLaurent Aimar <fenrir@videolan.org>
Mon, 18 Jun 2007 20:55:35 +0000 (20:55 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 18 Jun 2007 20:55:35 +0000 (20:55 +0000)
modules/demux/live555.cpp

index 41059191deceffba11fb47d0120d199e083f0ae6..4e1731704a4b5b9f5df886fce491b3b7f4d7fc98 100644 (file)
@@ -742,6 +742,10 @@ static int SessionsSetup( demux_t *p_demux )
                 {
                     tk->b_quicktime = VLC_TRUE;
                 }
+                else if( !strcmp( sub->codecName(), "SPEEX" ) )
+                {
+                    tk->fmt.i_codec = VLC_FOURCC( 's', 'p', 'x', ' ' );
+                }
             }
             else if( !strcmp( sub->mediumName(), "video" ) )
             {