James Almer
7ccc910803
avformat/movenc: don't use mono layout when a front center label is expected
...
On output streams where a multichannel stream needs to be stored as one track
per channel, each track will have a channel layout describing the position of
the channel they contain. For the track with front center, the mov muxer was
using the mov layout "mono" instead of the label for the front center position.
Since our channel layout API considers front center == mono, we need to do some
heuristics. To achieve this, we make sure all audio tracks contain streams with
a single channel, and only one of them is front center. In that case, we write
the front center label instead of signaling mono layout.
Fixes the last part of ticket #2865
Signed-off-by: James Almer <jamrial@gmail.com>
2022-04-05 09:19:59 -03:00
..
2022-03-22 08:45:38 -03:00
2022-03-15 09:42:29 -03:00
2022-03-15 09:42:29 -03:00
2022-03-23 23:45:39 +01:00
2022-03-15 09:42:29 -03:00
2022-03-15 09:42:29 -03:00
2022-01-04 13:16:49 +01:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:29 -03:00
2022-03-15 09:42:29 -03:00
2022-03-23 23:45:39 +01:00
2022-03-15 09:42:29 -03:00
2022-03-15 09:42:29 -03:00
2022-03-15 09:42:29 -03:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-03-10 14:11:12 +01:00
2022-03-27 11:58:54 +02:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-03-27 11:59:51 +02:00
2022-03-23 23:45:39 +01:00
2022-03-16 14:12:49 +02:00
2022-03-27 11:59:52 +02:00
2022-03-16 14:12:49 +02:00
2022-02-24 12:56:49 +01:00
2022-03-16 14:12:49 +02:00
2022-02-24 12:56:49 +01:00
2022-03-16 14:12:49 +02:00
2022-02-08 06:16:26 +01:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-02-07 00:31:23 +01:00
2022-03-16 14:12:49 +02:00
2022-03-23 23:45:39 +01:00
2022-01-19 11:57:58 +01:00
2022-03-16 14:12:49 +02:00
2022-01-19 12:02:36 +01:00
2022-02-24 12:56:49 +01:00
2022-03-19 00:01:57 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2021-12-19 00:35:24 +10:00
2022-03-16 14:05:26 +02:00
2021-12-19 00:35:24 +10:00
2022-03-02 17:45:40 -05:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:30 -03:00
2022-02-08 06:22:14 +01:00
2022-02-08 06:22:14 +01:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-03-15 09:42:30 -03:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:31 -03:00
2022-03-17 16:52:08 -03:00
2022-03-15 09:42:31 -03:00
2022-03-27 11:59:51 +02:00
2022-03-15 09:42:31 -03:00
2022-02-08 06:22:14 +01:00
2022-03-15 09:42:31 -03:00
2022-03-23 23:45:39 +01:00
2021-12-16 22:31:13 +01:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-19 21:34:08 +10:00
2021-12-20 14:29:01 +01:00
2022-01-30 13:26:35 +08:00
2022-03-16 14:12:49 +02: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-01-04 13:16:49 +01:00
2022-03-15 09:42:31 -03:00
2022-03-27 11:58:54 +02:00
2022-03-15 09:42:31 -03:00
2022-03-22 08:45:38 -03:00
2022-03-15 09:42:31 -03:00
2022-01-04 04:29:36 +01:00
2022-01-04 04:29:36 +01:00
2022-03-15 09:42:31 -03:00
2022-03-15 09:42:31 -03:00
2022-03-15 09:42:31 -03:00
2022-03-15 09:42:31 -03:00
2022-03-15 09:42:46 -03:00
2022-03-15 09:42:31 -03:00
2022-03-15 09:42:31 -03:00
2022-03-15 09:42:31 -03:00
2022-03-15 09:42:32 -03:00
2022-03-15 09:42:32 -03:00
2021-12-12 00:32:20 +01:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:32 -03:00
2022-03-16 14:05:26 +02:00
2022-03-23 23:45:39 +01:00
2022-03-15 09:42:32 -03:00
2022-03-23 23:45:39 +01:00
2022-03-15 09:42:32 -03:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:05:26 +02:00
2022-03-23 23:45:39 +01:00
2022-03-15 09:42:32 -03:00
2021-12-07 11:16:14 +01: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
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:33 -03:00
2022-03-15 09:42:33 -03:00
2022-03-23 23:45:39 +01:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:33 -03:00
2022-03-23 23:45:39 +01:00
2022-03-15 09:42:33 -03:00
2022-03-23 23:45:39 +01:00
2022-02-08 06:16:26 +01:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:33 -03:00
2022-03-15 09:42:33 -03:00
2021-12-04 14:06:30 +01:00
2022-03-23 23:45:39 +01:00
2022-03-23 23:45:39 +01:00
2022-03-23 23:45:39 +01:00
2022-03-16 14:12:49 +02:00
2022-02-24 12:56:49 +01:00
2022-03-16 14:12:49 +02:00
2021-12-08 00:42:48 +01:00
2022-03-23 23:45:39 +01:00
2022-02-15 10:15:25 +01:00
2022-03-15 09:42:33 -03:00
2022-03-15 09:42:33 -03:00
2022-03-15 09:42:33 -03:00
2022-03-15 09:42:33 -03:00
2022-03-16 14:12:49 +02:00
2022-02-05 10:40:31 +01:00
2021-12-31 17:26:01 +10:00
2022-03-19 21:34:06 +10:00
2021-10-08 20:37:36 +11:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:33 -03:00
2022-03-27 11:58:54 +02:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:33 -03:00
2022-02-08 06:16:26 +01:00
2022-03-15 09:42:33 -03:00
2022-03-15 09:42:33 -03:00
2021-11-03 17:45:02 +01:00
2022-03-15 09:42:34 -03:00
2022-03-04 15:50:51 +01:00
2022-03-15 09:42:33 -03:00
2022-02-08 06:16:26 +01:00
2022-01-04 13:16:50 +01:00
2022-03-15 09:42:34 -03:00
2022-03-16 14:12:49 +02:00
2021-11-27 12:55:41 +01:00
2022-03-15 09:42:34 -03:00
2022-03-15 09:42:34 -03:00
2022-03-15 09:42:34 -03:00
2021-11-18 20:40:24 +01:00
2022-03-30 10:30:02 +08:00
2021-10-07 11:55:55 +02:00
2022-03-15 09:42:34 -03:00
2022-03-15 09:42:34 -03:00
2022-03-19 21:34:04 +10:00
2022-02-03 05:07:44 +01:00
2022-02-24 12:56:49 +01:00
2022-03-18 19:56:50 +01:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:34 -03:00
2021-12-08 14:15:53 +01:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:34 -03:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:34 -03:00
2022-04-05 09:19:59 -03:00
2022-04-05 09:19:59 -03:00
2022-03-16 14:12:49 +02:00
2022-01-04 13:16:50 +01:00
2022-04-05 09:19:59 -03:00
2022-04-05 09:19:59 -03:00
2022-03-15 09:42:34 -03:00
2022-03-15 09:42:34 -03:00
2022-03-15 09:42:34 -03:00
2022-01-04 13:16:50 +01:00
2022-03-16 14:12:49 +02:00
2022-01-04 13:16:50 +01:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2021-10-20 22:40:13 +08:00
2022-03-15 09:42:35 -03:00
2022-02-08 06:22:14 +01: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-16 14:05:26 +02:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:35 -03:00
2022-01-09 18:13:53 +01:00
2022-03-21 22:27:14 +01:00
2022-03-16 21:37:53 +01:00
2022-03-15 09:42:35 -03:00
2022-03-16 14:12:49 +02:00
2022-01-21 09:25:05 +01: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
2021-11-19 18:11:46 +01:00
2022-03-15 09:42:35 -03:00
2022-03-16 14:05:26 +02:00
2022-03-15 09:42:35 -03:00
2022-03-16 14:12:49 +02: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-23 23:45:39 +01:00
2022-03-23 23:45:39 +01: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-01-21 16:47:38 +01:00
2022-01-21 16:47:38 +01:00
2022-03-15 09:42:35 -03:00
2022-03-15 09:42:36 -03:00
2022-03-22 08:45:38 -03:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-19 00:18:36 +01:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:36 -03:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-23 23:45:39 +01:00
2022-03-15 09:42:36 -03:00
2022-03-15 09:42:36 -03:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:36 -03:00
2021-12-17 10:22:41 +01:00
2022-03-15 09:42:36 -03:00
2022-03-23 23:45:39 +01:00
2022-01-30 13:26:35 +08:00
2022-01-30 13:26:35 +08:00
2022-03-23 23:45:39 +01:00
2022-01-04 13:16:50 +01:00
2022-01-30 13:26:35 +08:00
2022-01-30 13:26:35 +08:00
2022-01-30 13:26:35 +08:00
2022-02-05 11:40:40 +08:00
2022-03-23 23:45:39 +01:00
2022-03-15 09:42:36 -03:00
2022-01-04 13:16:50 +01:00
2022-02-08 06:22:14 +01:00
2022-01-12 09:21:07 +08:00
2022-03-26 00:42:00 +02:00
2022-03-15 09:42:36 -03:00
2022-01-12 09:21:07 +08:00
2022-02-06 23:04:59 +01:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:36 -03:00
2022-03-16 14:12:49 +02:00
2021-12-07 20:33:17 +08:00
2022-02-08 06:16:26 +01:00
2022-03-15 09:42:36 -03:00
2021-10-07 11:52:10 +02:00
2021-10-02 17:16:34 +02:00
2022-03-15 09:42:37 -03:00
2022-01-21 09:25:05 +01:00
2022-03-16 14:12:49 +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
2022-03-19 21:34:00 +10:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2022-03-16 14:12:49 +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
2022-03-15 09:42:37 -03: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
2022-03-15 09:42:37 -03: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
2022-01-04 13:16:49 +01:00
2021-10-02 17:16:29 +02:00
2022-02-08 06:16:26 +01: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
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:38 -03:00
2022-01-21 09:25:05 +01:00
2022-02-24 12:56:49 +01:00
2021-12-12 00:32:20 +01:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-02-15 10:15:25 +01:00
2021-12-30 19:32:34 +02:00
2022-03-23 23:45:39 +01:00
2022-03-15 09:42:38 -03:00
2022-01-04 13:16:50 +01:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-02-12 08:41:55 +08:00
2022-03-15 09:42:38 -03:00
2022-01-21 09:25:05 +01:00
2022-02-24 12:56:49 +01:00
2022-03-16 14:05:26 +02:00
2022-03-15 09:42:38 -03:00
2022-03-16 14:05:26 +02:00
2022-03-18 18:59:03 -03:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-03-16 14:12:49 +02:00
2022-03-16 14:12:49 +02:00
2022-03-15 09:42:38 -03:00
2022-01-21 16:47:38 +01:00
2022-02-24 12:56:49 +01:00
2021-10-03 20:56:12 +02:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:39 -03:00
2022-03-15 09:42:38 -03:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:39 -03:00
2021-12-20 14:29:01 +01:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:39 -03:00
2022-03-15 09:42:39 -03:00
2022-03-15 09:42:39 -03:00
2022-03-15 09:42:39 -03:00