[FFmpeg-devel] [PATCH] lavf/dashenc: set FLAC manifest codec string to "flac"
Jan Ekström
jeebjp at gmail.com
Wed Nov 14 03:21:34 EET 2018
Internally in ISOBMFF the FLAC-in-ISOBMFF draft uses the "fLaC"
as the identifier for FLACSampleEntry, but what the browsers
seem to eat for MPEG-DASH manifests is plain "flac".
Verified by auri_ on IRC to play with the major browsers.
---
libavformat/dashenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index f8b3d106d5..d151921175 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -143,6 +143,7 @@ static struct codec_string {
{ AV_CODEC_ID_VP9, "vp9" },
{ AV_CODEC_ID_VORBIS, "vorbis" },
{ AV_CODEC_ID_OPUS, "opus" },
+ { AV_CODEC_ID_FLAC, "flac" },
{ 0, NULL }
};
--
2.19.1
More information about the ffmpeg-devel
mailing list