Hi, following patch series implements the suggestions in https://bugzilla.libav.org/show_bug.cgi?id=10
I guesses since someone made the effort to report the bug it would be nice to keep the functionality although the function is not used within Libav. I have rudimentary test code for it. I'll extend it to a proper fate test. I noticed something unexpected during testung. It returns the first format without loss even if the source pixel format is in the list/mask. I'm not really sure that a good/expected behaviour would be: 1) avoiding pixel format conversions if possible or 2) handling the list as list of decreasing preference I would prefer/expect 1) but would like to hear other opinions. Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
