mirror of https://github.com/mpv-player/mpv
demux_mkv: use attachment filename as coverart title
This commit is contained in:
parent
2ade5c8477
commit
e213e20c2d
|
@ -1135,6 +1135,7 @@ static void add_coverart(struct demuxer *demuxer)
|
||||||
break;
|
break;
|
||||||
sh->codec = codec;
|
sh->codec = codec;
|
||||||
sh->attached_picture = new_demux_packet_from(att->data, att->data_size);
|
sh->attached_picture = new_demux_packet_from(att->data, att->data_size);
|
||||||
|
sh->title = att->name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue