mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-03-03 10:17:46 +00:00
Merge commit '78fa0b9033c0834c049e2aedf71a8c613fed87ab'
* commit '78fa0b9033c0834c049e2aedf71a8c613fed87ab': h264_metadata: Always add the SEI user data to the first access unit Mostly already present from a308872b049e33f69f4b629a06f47e3681906b93, 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…
x
Reference in New Issue
Block a user