diff options
author | wm4 <wm4@nowhere> | 2016-01-29 22:46:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-29 22:46:46 +0100 |
commit | 942a6729fa92c1b4ac4ab7b3feeb19eb3c17e7e9 (patch) | |
tree | a9f893e119f0b3a45028594fa965d942afd91652 /video/decode/lavc.h | |
parent | 526d578beee0fb6dc61e189bf2e185f688c9bef2 (diff) | |
download | mpv-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.h | 2 |
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; |