]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
muxer: change mime types for mpegts stream to audio|video/mp2t, fixes #2775
authorJaroslav Kysela <perex@perex.cz>
Thu, 23 Apr 2015 19:14:42 +0000 (21:14 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 23 Apr 2015 19:16:42 +0000 (21:16 +0200)
see: http://www.w3.org/2013/12/byte-stream-format-registry/

src/muxer.c

index 223a8e031f71c58c4f5bc0bf5be88f4e2c2f44dd..508b57cc42fcece1420c2dac5abac7292890a223 100644 (file)
@@ -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 },