From 942a6729fa92c1b4ac4ab7b3feeb19eb3c17e7e9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 29 Jan 2016 22:46:46 +0100 Subject: vd_lavc: simplify an aspect of hwdec fallback Don't give the "software_fallback_decoder" field special meaning. Alwass set it, and rename it to "decoder". Whether hw decoding is used is determined by the "hwdec" field already. --- video/decode/lavc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/decode/lavc.h') diff --git a/video/decode/lavc.h b/video/decode/lavc.h index db8b26eefa..d225195c9d 100644 --- a/video/decode/lavc.h +++ b/video/decode/lavc.h @@ -21,7 +21,7 @@ typedef struct lavc_ctx { int best_csp; enum AVDiscard skip_frame; bool flushing; - const char *software_fallback_decoder; + const char *decoder; bool hwdec_failed; bool hwdec_notified; -- cgit v1.2.3