From 08679f756cf0387d883247cd7e4e8b24ca6543f5 Mon Sep 17 00:00:00 2001 From: Akemi Date: Sun, 16 Dec 2018 13:07:11 +0100 Subject: 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. --- video/decode/vd_lavc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/decode') 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 -- cgit v1.2.3