Use AC-3 as default codec for wtv.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 11 Nov 2011 23:15:03 +0000 (00:15 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 11 Nov 2011 23:15:03 +0000 (00:15 +0100)
libavformat/wtvenc.c

index d1c446c..71ff208 100644 (file)
@@ -713,7 +713,7 @@ AVOutputFormat ff_wtv_muxer = {
     .long_name      = NULL_IF_CONFIG_SMALL("Windows Television (WTV)"),
     .extensions     = "wtv",
     .priv_data_size = sizeof(WtvContext),
-    .audio_codec    = CODEC_ID_MP2,
+    .audio_codec    = CODEC_ID_AC3,
     .video_codec    = CODEC_ID_MPEG2VIDEO,
     .write_header   = write_header,
     .write_packet   = write_packet,