From 8a74638dc743007f6d5d6bb3a672167fce353480 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Apr 2014 01:17:28 +0200 Subject: video: add a "hwdec" property to enable or disable hw decoding at runtime --- video/decode/lavc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/decode/lavc.h') diff --git a/video/decode/lavc.h b/video/decode/lavc.h index 16d3251725..d67292c4fd 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -26,6 +26,7 @@ typedef struct lavc_ctx { AVCodecContext *avctx; AVFrame *pic; struct vd_lavc_hwdec *hwdec; + int selected_hwdec; enum AVPixelFormat pix_fmt; int best_csp; enum AVDiscard skip_frame; -- cgit v1.2.3