On Wed, 10 Sep 2014 21:48:14 +0300
Rémi Denis-Courmont <r...@remlab.net> wrote:

> Le mercredi 10 septembre 2014, 20:39:50 wm4 a écrit :
> > I think it would be better in terms of backwards compatibility to have
> > the user call a function to signal support for formats other than
> > VDP_CHROMA_TYPE_420. (Instead of the other way around and suddenly
> > requiring every user to check for this.)
> 
> You and others refused to introduce a new pixel format, which is how that 
> would normally be solved. So now you get the breakage. I told you so.
> 
> I have wasted enough time with developers who cannot make their mind.
> 

Here's an example how to solve it in a backward compatible way:

void av_vdpau_allow_chroma_type(AVCodecContext *avctx, VdpChromaType type);

The application notifies libavcodec that it supports this chroma type.

You haven't replied anything to our concerns about mapping DXVA pixel
formats, so I can just continue to assume that mapping DXVA formats to
libav pixel formats would be infeasible.
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to