mirror of https://github.com/mpv-player/mpv
codec_tags: map some more image mimetypes
This only had jpeg and png in it strangely enough. Fixes #11592.
This commit is contained in:
parent
df758880e2
commit
05d79298b8
|
@ -181,8 +181,15 @@ void mp_set_pcm_codec(struct mp_codec_params *c, bool sign, bool is_float,
|
|||
}
|
||||
|
||||
static const char *const mimetype_to_codec[][2] = {
|
||||
{"image/apng", "apng"},
|
||||
{"image/avif", "av1"},
|
||||
{"image/bmp", "bmp"},
|
||||
{"image/gif", "gif"},
|
||||
{"image/jpeg", "mjpeg"},
|
||||
{"image/jxl", "jpegxl"},
|
||||
{"image/png", "png"},
|
||||
{"image/tiff", "tiff"},
|
||||
{"image/webp", "webp"},
|
||||
{0}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue