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.
This commit is contained in:
Akemi 2018-12-16 13:07:11 +01:00 committed by sfan5
parent 73fe0611b3
commit 08679f756c
1 changed files with 1 additions and 1 deletions

View File

@ -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