Ticket #2288: patchvda2.diff
| File patchvda2.diff, 462 bytes (added by cehoyos, 3 months ago) |
|---|
-
libavcodec/h264.c
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index e854ded..f21d35f 100644
a b int ff_h264_frame_start(H264Context *h) 1725 1725 if ((ret = alloc_picture(h, pic)) < 0) 1726 1726 return ret; 1727 1727 if(!h->sync && !h->avctx->hwaccel && 1728 strcmp(h->avctx->codec->name, "h264_vda") && 1728 1729 !(h->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU)) 1729 1730 avpriv_color_frame(&pic->f, c); 1730 1731
