You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-16 08:36:51 +02:00
avfilter/vf_scale: set correct alpha mode after format change
While vf_scale cannot directly convert between premultiplied and straight alpha, the effective tagging can still change as a result of a change in the pixel format (i.e. adding or removing an alpha channel).
This commit is contained in:
@@ -837,6 +837,7 @@ scale:
|
||||
out->height = outlink->h;
|
||||
out->color_range = outlink->color_range;
|
||||
out->colorspace = outlink->colorspace;
|
||||
out->alpha_mode = outlink->alpha_mode;
|
||||
if (scale->out_chroma_loc != AVCHROMA_LOC_UNSPECIFIED)
|
||||
out->chroma_location = scale->out_chroma_loc;
|
||||
if (scale->out_primaries != -1)
|
||||
|
Reference in New Issue
Block a user