mirror of https://github.com/mpv-player/mpv
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:
parent
73fe0611b3
commit
08679f756c
|
@ -132,7 +132,7 @@ const struct m_sub_options vd_lavc_conf = {
|
||||||
|
|
||||||
struct hwdec_info {
|
struct hwdec_info {
|
||||||
char name[64];
|
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
|
const AVCodec *codec; // implemented by this codec
|
||||||
enum AVHWDeviceType lavc_device; // if not NONE, get a hwdevice
|
enum AVHWDeviceType lavc_device; // if not NONE, get a hwdevice
|
||||||
bool copying; // if true, outputs sw frames, or copy to sw ourselves
|
bool copying; // if true, outputs sw frames, or copy to sw ourselves
|
||||||
|
|
Loading…
Reference in New Issue