From 84ee61634dd655b3c8828a5f5c88e87b4372bcf4 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 23 Apr 2015 21:14:42 +0200 Subject: [PATCH] muxer: change mime types for mpegts stream to audio|video/mp2t, fixes #2775 see: http://www.w3.org/2013/12/byte-stream-format-registry/ --- src/muxer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/muxer.c b/src/muxer.c index 223a8e03..508b57cc 100644 --- a/src/muxer.c +++ b/src/muxer.c @@ -43,7 +43,7 @@ static struct strtab container_audio_mime[] = { { "audio/x-matroska", MC_AVMATROSKA }, { "audio/webm", MC_WEBM }, { "audio/webm", MC_AVWEBM }, - { "audio/x-mpegts", MC_MPEGTS }, + { "audio/mp2t", MC_MPEGTS }, { "audio/mpeg", MC_MPEGPS }, { "application/octet-stream", MC_PASS }, { "application/octet-stream", MC_RAW }, @@ -59,7 +59,7 @@ static struct strtab container_video_mime[] = { { "video/x-matroska", MC_AVMATROSKA }, { "video/webm", MC_WEBM }, { "video/webm", MC_AVWEBM }, - { "video/x-mpegts", MC_MPEGTS }, + { "video/mp2t", MC_MPEGTS }, { "video/mpeg", MC_MPEGPS }, { "application/octet-stream", MC_PASS }, { "application/octet-stream", MC_RAW },