This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit a1fc57382394f750d323e1ff9f445b21dc64e702 Author: Niklas Haas <[email protected]> AuthorDate: Fri Oct 30 16:40:54 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Sat Oct 31 13:37:58 2026 +0100 avfilter/vf_libplacebo: reorder set_output_props() Handle Dolby Vision right after copying the frame properties, before the output link properties. No functional change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Sponsored-by: nxtedition AB Signed-off-by: Niklas Haas <[email protected]> --- libavfilter/vf_libplacebo.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c index dd2bf8f01c..241a1eb462 100644 --- a/libavfilter/vf_libplacebo.c +++ b/libavfilter/vf_libplacebo.c @@ -995,14 +995,6 @@ static int set_output_props(LibplaceboContext *s, const AVFilterLink *outlink, if ((err = av_frame_copy_props(out, ref)) < 0) return err; - out->width = outlink->w; - out->height = outlink->h; - out->sample_aspect_ratio = outlink->sample_aspect_ratio; - out->colorspace = outlink->colorspace; - out->color_range = outlink->color_range; - out->alpha_mode = outlink->alpha_mode; - if (outlink->chroma_location != AVCHROMA_LOC_UNSPECIFIED) - out->chroma_location = outlink->chroma_location; if (s->apply_dovi && av_frame_get_side_data(ref, AV_FRAME_DATA_DOVI_METADATA)) { /* Output of dovi reshaping is always BT.2020+PQ, so infer the correct @@ -1012,6 +1004,14 @@ static int set_output_props(LibplaceboContext *s, const AVFilterLink *outlink, changed |= AV_SIDE_DATA_PROP_COLOR_DEPENDENT; } + out->width = outlink->w; + out->height = outlink->h; + out->sample_aspect_ratio = outlink->sample_aspect_ratio; + out->colorspace = outlink->colorspace; + out->color_range = outlink->color_range; + out->alpha_mode = outlink->alpha_mode; + if (outlink->chroma_location != AVCHROMA_LOC_UNSPECIFIED) + out->chroma_location = outlink->chroma_location; if (s->color_trc >= 0) out->color_trc = s->color_trc; if (s->color_primaries >= 0) -- 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]
