On 17/09/14 17:51, Rémi Denis-Courmont wrote: > Decoding acceleration may work even if the codec level is higher than > the stated limit of the VDPAU driver. Or the problem may be considered > acceptable by the user. This flag allows skipping the codec level > capability checks and proceed with decoding. > > Applications should obviously not set this flag by default, but only if > the user explicitly requested this behavior (and presumably knows how > to turn it back off if it fails).
I like the idea a lot > + * VDPAU should be used for decoding even if the codec level used is unknown > + * or higher than the maximum supported level reported by the VDPAU driver. > + */ > +#define AV_VDPAU_FLAG_IGNORE_LEVEL (1 << 0) Make it HWACCEL instead of VDPAU, it seems generic enough, with the small change you pointed already seems good to me. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
