X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fffmpeg-4.3.patchA;fp=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fffmpeg-4.3.patchA;h=6d175cb63a2abcab65cc4f31595d93c4a4949270;hb=d830901b11606a7838791bc45e39130329db99f0;hp=0000000000000000000000000000000000000000;hpb=fa27f905f12b15ae84eb1b3ffcd12e09d6d02660;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/thirdparty/src/ffmpeg-4.3.patchA b/cinelerra-5.1/thirdparty/src/ffmpeg-4.3.patchA new file mode 100644 index 00000000..6d175cb6 --- /dev/null +++ b/cinelerra-5.1/thirdparty/src/ffmpeg-4.3.patchA @@ -0,0 +1,23 @@ +diff -ru a/libavutil/hwcontext_vdpau.c b/libavutil/hwcontext_vdpau.c +--- a/libavutil/hwcontext_vdpau.c 2019-08-05 14:52:21.000000000 -0600 ++++ b/libavutil/hwcontext_vdpau.c 2020-04-15 10:59:45.793687570 -0600 +@@ -64,6 +64,11 @@ + { 0, AV_PIX_FMT_NONE, }, + }; + ++static const VDPAUPixFmtMap pix_fmts_420j[] = { ++ { VDP_YCBCR_FORMAT_YV12, AV_PIX_FMT_YUVJ420P }, ++ { 0, AV_PIX_FMT_NONE, }, ++}; ++ + static const VDPAUPixFmtMap pix_fmts_422[] = { + { VDP_YCBCR_FORMAT_NV12, AV_PIX_FMT_NV16 }, + { VDP_YCBCR_FORMAT_YV12, AV_PIX_FMT_YUV422P }, +@@ -85,6 +90,7 @@ + const VDPAUPixFmtMap *map; + } vdpau_pix_fmts[] = { + { VDP_CHROMA_TYPE_420, AV_PIX_FMT_YUV420P, pix_fmts_420 }, ++ { VDP_CHROMA_TYPE_420, AV_PIX_FMT_YUVJ420P, pix_fmts_420j }, + { VDP_CHROMA_TYPE_422, AV_PIX_FMT_YUV422P, pix_fmts_422 }, + { VDP_CHROMA_TYPE_444, AV_PIX_FMT_YUV444P, pix_fmts_444 }, + };