Files
FFmpeg/libavformat
Romain Beauxis fc7d0393bb libavformat/hlsenc.c: Populate OTI using AAC profile in write_codec_attr.
This patch populates the third entry for HLS codec attribute using the
AAC profile.

The HLS specifications[1] require this value to be the Object Type ID as
referred to in table 1.3 of ISO/IEC 14496-3:2009[2].

The numerical constants in the code refer to these OTIs minus one, as
documented in commit 372597e[3], confirmed by comparing the values in the
code with the values in the table mentioned above.

Links:
1: https://datatracker.ietf.org/doc/html/rfc6381#section-3.3
2: https://csclub.uwaterloo.ca/~ehashman/ISO14496-3-2009.pdf
3: 372597e538

Changes in this version:
- Default value set to "mp4a.40.2" when profile is unknown for backward
  compatibility.

Signed-off-by: Steven Liu <liuqi05@kuaishou.com>
(cherry picked from commit 797f0b27c1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-04-14 22:12:41 +02:00
..
2021-09-10 16:04:26 +02:00
2021-09-10 16:04:26 +02:00
2016-07-03 04:37:48 +02:00
2022-10-09 21:33:08 +02:00
2019-05-04 12:03:24 +05:30
2024-04-14 22:12:24 +02:00
2022-10-09 21:32:53 +02:00
2021-09-10 16:04:26 +02:00
2017-09-20 03:31:48 +02:00
2017-10-19 22:07:21 +02:00
2017-09-01 18:52:56 +08:00
2021-09-10 16:04:26 +02:00
2019-07-03 10:35:16 +08:00
2022-10-09 21:33:09 +02:00
2019-03-20 18:38:48 +01:00
2021-09-10 16:04:26 +02:00
2022-10-09 21:32:50 +02:00
2021-09-10 16:04:26 +02:00
2019-05-20 11:58:12 -07:00
2022-10-09 21:33:05 +02:00
2016-05-04 18:16:21 +02:00
2022-10-09 21:33:07 +02:00
2021-09-10 16:04:26 +02:00
2019-05-20 11:58:12 -07:00
2019-06-10 21:35:20 +02:00
2022-10-09 21:33:09 +02:00
2021-09-10 16:04:26 +02:00
2021-09-10 16:04:26 +02:00
2021-10-06 13:54:16 +02:00
2020-07-05 01:47:56 +02:00
2020-07-05 01:47:56 +02:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2017-04-25 15:39:10 +02:00
2022-10-09 21:33:10 +02:00
2018-05-21 19:43:04 -03:00
2018-05-21 19:43:04 -03:00
2019-03-20 18:38:48 +01:00
2021-09-10 16:04:26 +02:00
2017-01-30 11:00:58 +01:00
2022-10-09 21:32:56 +02:00
2016-05-03 15:45:10 +02:00
2020-07-05 01:47:56 +02:00
2024-04-14 22:12:31 +02:00
2024-04-14 22:12:30 +02:00
2022-04-07 16:26:59 +02:00
2022-10-09 21:33:12 +02:00
2019-06-14 21:36:39 +02:00
2021-09-10 16:04:26 +02:00
2019-07-14 22:17:43 +02:00