diff options
author | Marton Balint <cus@passwd.hu> | 2024-03-01 00:09:43 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2024-03-04 00:33:20 +0100 |
commit | 0aaee4741ce0c10ca09f5d17194b58d0cf0ebece (patch) | |
tree | 3f6fcc9264454671734b811f1e72c4abe709ab74 /libavcodec/tscc.c | |
parent | c0a1ce1c406be2a70948ace5188aa1fdfdeea556 (diff) | |
download | ffmpeg-0aaee4741ce0c10ca09f5d17194b58d0cf0ebece.tar.gz |
avformat/mpegts: detect synchronous metadata KLV more reliably
The mpegts code historically tries to strip (the first) metadata access unit
header from synchronous KLV metadata, but the detection for such streams was
unreliable causing strips of asynchronous metadata or ID3 as well.
MISB ST 1402 specifies required stream type, stream id and registration
descriptor (which eventually maps to the codec ID) so let's use all of these
for reliable detection.
Fixes a regression caused by 468615f2045da325e0f73e8e668d49cf456ccb37.
Fixes ticket #10828, #10883.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/tscc.c')
0 files changed, 0 insertions, 0 deletions