Ticket #2288: patchvda.diff
| File patchvda.diff, 496 bytes (added by cehoyos, 3 months ago) |
|---|
-
libavcodec/h264.c
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index fe12846..c0115bb 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 #if CONFIG_H264_VDA_DECODER 1729 h->avctx->codec != ff_h264_vda_decoder && 1730 #endif 1728 1731 !(h->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU)) 1729 1732 avpriv_color_frame(&pic->f, c); 1730 1733
