Change the default codecs for the rtsp muxer to mpeg4 and aac
authorMartin Storsjö <martin@martin.st>
Fri, 21 May 2010 07:12:33 +0000 (07:12 +0000)
committerMartin Storsjö <martin@martin.st>
Fri, 21 May 2010 07:12:33 +0000 (07:12 +0000)
These codecs in RTP are supported by many players.

Originally committed as revision 23209 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtspenc.c

index 293baa2..c0436c3 100644 (file)
@@ -168,8 +168,8 @@ AVOutputFormat rtsp_muxer = {
     NULL,
     NULL,
     sizeof(RTSPState),
-    CODEC_ID_PCM_MULAW,
-    CODEC_ID_NONE,
+    CODEC_ID_AAC,
+    CODEC_ID_MPEG4,
     rtsp_write_header,
     rtsp_write_packet,
     rtsp_write_close,