mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 18:02:11 +00:00
Merge commit '78fa0b9033c0834c049e2aedf71a8c613fed87ab'
* commit '78fa0b9033c0834c049e2aedf71a8c613fed87ab':
h264_metadata: Always add the SEI user data to the first access unit
Mostly already present from a308872b04
,
one cosmetic change applied.
Merged-by: Mark Thompson <sw@jkqxz.net>
This commit is contained in:
commit
7386b4ff39
@ -288,7 +288,7 @@ static int h264_metadata_filter(AVBSFContext *bsf, AVPacket *out)
|
||||
}
|
||||
}
|
||||
|
||||
// Insert the SEI in access units containing SPSs, and also
|
||||
// Only insert the SEI in access units containing SPSs, and also
|
||||
// unconditionally in the first access unit we ever see.
|
||||
if (ctx->sei_user_data && (has_sps || !ctx->sei_first_au)) {
|
||||
H264RawSEIPayload payload = {
|
||||
|
Loading…
Reference in New Issue
Block a user