muxer: change mime types for mpegts stream to audio|video/mp2t, fixes #2775

see: http://www.w3.org/2013/12/byte-stream-format-registry/
This commit is contained in:
Jaroslav Kysela 2015-04-23 21:14:42 +02:00
parent 3e56c175e3
commit 84ee61634d

View 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 },