On 12/08/15 15:07, Anton Khirnov wrote: > This is useful for detecting QSV-enabled decoders. > --- > This is rather hacky. Can anyone think of a better solution?
It is not hacky as long it is acceptable to have 1 pixel format for each hwaccel. So it is fine for me now. The flexible way is to add a callback that takes some kind of richer descriptors such as the AVScale AVPixFormaton and return what among those it accepts. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
