]> git.sesse.net Git - ffmpeg/commit
lavf/dashenc: set FLAC manifest codec string to "flac"
authorJan Ekström <jeebjp@gmail.com>
Wed, 14 Nov 2018 01:11:31 +0000 (03:11 +0200)
committerJan Ekström <jeebjp@gmail.com>
Wed, 14 Nov 2018 18:45:02 +0000 (20:45 +0200)
commitb31a4be15f568c12be32dca87f066416e6adc8ad
tree1081ebb0d6ed7f6bf7d7e6be4391270382684354
parent752659327d4ac73640781376d214a26765f971f4
lavf/dashenc: set FLAC manifest codec string to "flac"

Internally in ISOBMFF the FLAC-in-ISOBMFF draft uses "fLaC"
as the identifier for FLACSampleEntry, and there seems to be no
MPEG-DASH specification for the in-manifest identifier for FLAC.

After testing the browsers' implementations, it seems like all of
the major browser vendors have decided to utilize the MIME type for
FLAC ("audio/flac") as the identifier. This change set leads to
that string being utilized for FLAC streams instead of the sample
entry identifier ("fLaC"), which is the default behavior.

Verified by auri_ on IRC to play with the major browsers.
libavformat/dashenc.c