This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 0bda46d1853be8931a302eeb303e430c34a326d5
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Tue Sep 8 06:10:06 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Tue Oct 6 22:17:04 2026 +0200

    avcodec/h2645_sei: copy alternative transfer characteristics between frame 
threads
    
    The alternative transfer characteristics SEI persists until the next one
    is received, but ff_h2645_sei_ctx_replace() did not copy it to the next
    frame thread. HEVC copied it in its own update_thread_context()
    instead, now both do.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 libavcodec/h2645_sei.c    | 1 +
 libavcodec/hevc/hevcdec.c | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/h2645_sei.c b/libavcodec/h2645_sei.c
index 735199733c..af952d9d7a 100644
--- a/libavcodec/h2645_sei.c
+++ b/libavcodec/h2645_sei.c
@@ -355,6 +355,7 @@ int ff_h2645_sei_ctx_replace(H2645SEI *dst, const H2645SEI 
*src)
     }
     dst->itut_t35.aom_film_grain.enable = src->itut_t35.aom_film_grain.enable;
 
+    dst->alternative_transfer  = src->alternative_transfer;
     dst->ambient_viewing_environment = src->ambient_viewing_environment;
     dst->mastering_display     = src->mastering_display;
     dst->content_light         = src->content_light;
diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c
index b572d8dd11..a36ea57bc2 100644
--- a/libavcodec/hevc/hevcdec.c
+++ b/libavcodec/hevc/hevcdec.c
@@ -4359,7 +4359,6 @@ static int hevc_update_thread_context(AVCodecContext *dst,
 
     s->sei.common.frame_packing        = s0->sei.common.frame_packing;
     s->sei.common.display_orientation  = s0->sei.common.display_orientation;
-    s->sei.common.alternative_transfer = s0->sei.common.alternative_transfer;
     s->sei.tdrdi                       = s0->sei.tdrdi;
     s->sei.recovery_point              = s0->sei.recovery_point;
     s->recovery_poc                    = s0->recovery_poc;

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to