Le 2014-12-19 08:51, Anton Khirnov a écrit :
Why would you have to call avcodec_default_get_format()? You could just
look at the last offered pixel format (the only non-hwaccel one).

Sure but that is effectively the same thing. The problem remain that each and every application would have to code the mapping from AV_PIX_FMT_* to VDP_CHROMA_TYPE_* and to VDPAU-specific dimension constraints.

Speaking of which, why is avcodec_default_get_format even public right
now?

I don't know but at least VLC uses it.

--
Rémi Denis-Courmont
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to