Skip to content

Enum for loss returned by find_best_pix_fmt_of_list? #2300

Closed

Description

@oakaigh

Currently loss is returned by find_best_pix_fmt_of_list as an int; A PixFmtLoss enum.IntFlag should be easier to work with.

Expose the flags defined here:
https://github.com/FFmpeg/FFmpeg/blob/07ae44a607d86dabb38bb591f28ddf4e49386479/libavutil/pixdesc.h#L397-L404

Activity

  1. added a commit that references this issue on Jun 18, 2026
    d548708
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions