summaryrefslogtreecommitdiffstats
path: root/video/decode/lavc.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-29 22:46:46 +0100
committerwm4 <wm4@nowhere>2016-01-29 22:46:46 +0100
commit942a6729fa92c1b4ac4ab7b3feeb19eb3c17e7e9 (patch)
treea9f893e119f0b3a45028594fa965d942afd91652 /video/decode/lavc.h
parent526d578beee0fb6dc61e189bf2e185f688c9bef2 (diff)
downloadmpv-942a6729fa92c1b4ac4ab7b3feeb19eb3c17e7e9.tar.bz2
mpv-942a6729fa92c1b4ac4ab7b3feeb19eb3c17e7e9.tar.xz
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.
Diffstat (limited to 'video/decode/lavc.h')
-rw-r--r--video/decode/lavc.h2
1 files changed, 1 insertions, 1 deletions
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;