diff options
author | John Coiner <jpcoiner@gmail.com> | 2023-02-12 18:06:07 -0500 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2023-02-19 19:29:17 +0100 |
commit | e0cb89c354ea654bccc524a8a45321b93cb256d3 (patch) | |
tree | 3451399ee1939dbf4828f5ad5301a6241ca7b36a /libavfilter/vf_owdenoise.c | |
parent | 3807fbd90ab9c5125d21b39017ec48d40d3f019f (diff) | |
download | ffmpeg-e0cb89c354ea654bccc524a8a45321b93cb256d3.tar.gz |
avformat/mpegtsenc: re-emit extradata ahead of IDR pictures even if AUD is already present
Current mpegtsenc code only inserts SPS/PPS from extradata before IDR frames if
AUD is also inserted.
Unfortunately some encoders may preface a key frame with an AUD, but no
SPS/PPS. In that case current code does not repeat the "extradata" and the
resulting HLS stream may become noncompliant and unjoinable.
Fix this by always inserting SPS/PPS and moving AUD to the beginning of the
packet if it is already present.
Fixes ticket #10148.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/vf_owdenoise.c')
0 files changed, 0 insertions, 0 deletions