Skip to content

Add PixFmtLoss enum for find_best_pix_fmt_of_list#2318

Merged
WyattBlue merged 1 commit into
mainfrom
patch
Jun 18, 2026
Merged

Add PixFmtLoss enum for find_best_pix_fmt_of_list#2318
WyattBlue merged 1 commit into
mainfrom
patch

Conversation

@WyattBlue

Copy link
Copy Markdown
Member

Wrap the loss bitmask returned by find_best_pix_fmt_of_list in a PixFmtLoss IntFlag instead of a plain int. Being an int subclass this is backward compatible, while making the FF_LOSS_* flags easier to work with.

closes #2300

Wrap the loss bitmask returned by find_best_pix_fmt_of_list in a
PixFmtLoss IntFlag instead of a plain int. Being an int subclass this is
backward compatible, while making the FF_LOSS_* flags easier to work with.

closes #2300
@WyattBlue WyattBlue merged commit d548708 into main Jun 18, 2026
8 checks passed
@WyattBlue WyattBlue deleted the patch branch June 18, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enum for loss returned by find_best_pix_fmt_of_list?

1 participant