Alexandre L 7ec1e417ca
Allow embedding thumbnail in MKV as attachment
To fix rg3#10359, use `-attach` to embed the thumbnail as attachment.
In this version, the attached filename follow the https://matroska.org/technical/cover_art/index.html convention, as pointed in #6046.
The image dimensions are probably not going to respect the convention though, and we assume the thumbnail is in landscape orientation.
As only 2 images type seems to be recognized by the convention, they are hardcoded (mimetypes module would match on extension too).
2017-11-05 01:58:03 +01:00
..
2016-09-30 00:28:32 +08:00