diff options
author | Akemi <der.richter@gmx.de> | 2018-12-16 13:07:11 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-01-23 09:30:58 +0100 |
commit | 08679f756cf0387d883247cd7e4e8b24ca6543f5 (patch) | |
tree | aabbbf5257503d3c956d7e319ce3afc9aa86a723 /video/decode/vd_lavc.c | |
parent | 73fe0611b32bbdbbd687046d5f3785da3ddefb27 (diff) | |
download | mpv-08679f756cf0387d883247cd7e4e8b24ca6543f5.tar.bz2 mpv-08679f756cf0387d883247cd7e4e8b24ca6543f5.tar.xz |
vd_lavc: increase the possible length of the hwdec name
this lead to an unexpected videotoolbox-copy hwdec name due to the last
two chars being cut off. since selection is also done by that name one
had to use "videotoolbox-co" to explicitly use the copy mode of
videotoolbox.
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r-- | video/decode/vd_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 25049aa341..cce3b4510b 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -132,7 +132,7 @@ const struct m_sub_options vd_lavc_conf = { struct hwdec_info { char name[64]; - char method_name[16]; // non-unique name describing the hwdec method + char method_name[24]; // non-unique name describing the hwdec method const AVCodec *codec; // implemented by this codec enum AVHWDeviceType lavc_device; // if not NONE, get a hwdevice bool copying; // if true, outputs sw frames, or copy to sw ourselves |