1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00
FFmpeg/tests/ref/fate/side_data_array
James Almer 55621f6fae avutil/frame: add a flag to allow overwritting existing entries
Enable it only for side data types that don't allow more than one entry.

Signed-off-by: James Almer <jamrial@gmail.com>
2024-04-11 09:18:19 -03:00

15 lines
687 B
Plaintext

Initial addition results with duplicates:
sd 0 (size 4), Content light level metadata
sd 1 (size 4), H.26[45] User Data Unregistered SEI message: 1
sd 2 (size 4), H.26[45] User Data Unregistered SEI message: 2
sd 3 (size 4), H.26[45] User Data Unregistered SEI message: 3
sd 4 (size 4), Spherical Mapping
sd 5 (size 4), H.26[45] User Data Unregistered SEI message: 4
sd 6 (size 4), H.26[45] User Data Unregistered SEI message: 5
sd 7 (size 4), H.26[45] User Data Unregistered SEI message: 6
Final state after a single 'no-duplicates' addition:
sd 0 (size 4), Content light level metadata
sd 1 (size 4), Spherical Mapping
sd 2 (size 4), H.26[45] User Data Unregistered SEI message: 1337