Files
ffmpeg/libavformat
Romain Beauxis adfa69aaa9 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-03 02:03:44 +02:00
..
2023-05-31 09:03:58 -07:00
2022-03-15 09:42:29 -03:00
2022-05-10 07:37:38 +02:00
2023-06-29 20:22:58 +02:00
2023-06-20 12:47:00 +02:00
2022-03-15 09:42:29 -03:00
2022-03-15 09:42:29 -03:00
2023-10-02 01:28:14 +02:00
2022-03-15 09:42:30 -03:00
2023-01-27 19:45:36 +01:00
2023-09-12 19:33:17 +02:00
2023-09-17 11:17:55 +02:00
2022-09-23 20:27:35 +02:00
2022-09-24 17:57:35 +02:00
2022-12-01 11:21:15 +01:00
2022-10-24 02:00:31 +02:00
2023-08-11 23:55:05 +02:00
2022-02-24 12:56:49 +01:00
2023-07-19 19:33:20 -04:00
2023-08-02 17:31:13 +02:00
2022-06-09 20:46:10 +02:00
2022-03-15 09:42:31 -03:00
2023-01-25 18:49:09 +01:00
2022-05-10 07:37:38 +02:00
2023-09-21 22:41:10 +02:00
2023-02-18 09:56:40 +01:00
2022-03-15 09:42:31 -03:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:31 -03:00
2022-03-15 09:42:31 -03:00
2022-09-24 17:57:37 +02:00
2023-06-27 12:52:38 -03:00
2022-03-15 09:42:32 -03:00
2022-03-16 14:05:26 +02:00
2022-03-15 09:42:32 -03:00
2022-03-15 09:42:32 -03:00
2022-03-15 09:42:33 -03:00
2022-03-15 09:42:33 -03:00
2023-05-20 13:06:38 +02:00
2023-09-22 08:52:18 +02:00
2022-03-15 09:42:33 -03:00
2022-09-22 17:44:05 +02:00
2022-05-10 07:37:38 +02:00
2023-05-31 09:03:58 -07:00
2023-05-31 09:03:58 -07:00
2022-03-15 09:42:33 -03:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:33 -03:00
2022-05-06 15:57:45 +02:00
2023-09-17 11:17:55 +02:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:34 -03:00
2023-03-25 22:14:09 +08:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2023-09-28 19:37:58 +02:00
2022-03-15 09:42:35 -03:00
2023-09-01 14:26:47 +02:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:36 -03:00
2023-04-20 16:11:18 +02:00
2023-09-07 00:42:10 +02:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2023-06-29 14:12:50 -03:00
2023-07-22 16:18:39 +02:00
2022-09-24 18:28:19 +02:00
2022-03-15 09:42:36 -03:00
2022-03-26 00:42:00 +02:00
2022-03-15 09:42:37 -03:00
2022-07-07 21:52:52 +02:00
2023-02-11 11:30:46 +01:00
2022-08-31 16:24:22 +02:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2023-08-15 21:42:21 +02:00
2023-08-15 21:42:21 +02:00
2023-01-13 11:22:59 -06:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2023-04-02 10:18:56 +05:30
2022-03-15 09:42:38 -03:00
2023-10-15 18:54:37 +02:00
2023-10-08 21:36:04 +02:00
2022-03-15 09:42:38 -03:00
2023-10-29 16:19:39 +01:00
2022-03-15 09:42:38 -03:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:38 -03:00
2023-01-24 16:58:01 +01:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2023-01-30 21:02:48 +01:00
2022-03-15 09:42:39 -03:00
2022-03-15 09:42:39 -03:00