On Sat, Jun 25, 2016 at 4:27 PM, Anton Khirnov <an...@khirnov.net> wrote: > --- > libavutil/hwcontext_dxva2.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavutil/hwcontext_dxva2.c b/libavutil/hwcontext_dxva2.c > index e2c27bf..3358c7c 100644 > --- a/libavutil/hwcontext_dxva2.c > +++ b/libavutil/hwcontext_dxva2.c > @@ -65,6 +65,7 @@ static const struct { > enum AVPixelFormat pix_fmt; > } supported_formats[] = { > { MKTAG('N', 'V', '1', '2'), AV_PIX_FMT_NV12 }, > + { MKTAG('P', '0', '1', '0'), AV_PIX_FMT_P010 }, > }; > > DEFINE_GUID(video_decoder_service, 0xfc51a551, 0xd5e7, 0x11d9, 0xaf, 0x55, > 0x00, 0x05, 0x4e, 0x43, 0xff, 0x02);
You need to adjust the up/download function to deal with this. - Hendrik _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel