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 4105919..4e17317 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" ) )
             {