probe TrueHD in MPEGTS
authorRodger Combs <rodger.combs@gmail.com>
Tue, 17 Nov 2015 16:01:01 +0000 (10:01 -0600)
committerRodger Combs <rodger.combs@gmail.com>
Sat, 27 Feb 2016 22:27:27 +0000 (16:27 -0600)
libavformat/utils.c

index 671a0c2..78255c3 100644 (file)
@@ -293,6 +293,7 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st,
         { "m4v",       AV_CODEC_ID_MPEG4,      AVMEDIA_TYPE_VIDEO },
         { "mp3",       AV_CODEC_ID_MP3,        AVMEDIA_TYPE_AUDIO },
         { "mpegvideo", AV_CODEC_ID_MPEG2VIDEO, AVMEDIA_TYPE_VIDEO },
+        { "truehd",    AV_CODEC_ID_TRUEHD,     AVMEDIA_TYPE_AUDIO },
         { 0 }
     };
     int score;