From 1ef56e9d080103f0f40797cb65592710c9b91a5e Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 22 Dec 2014 12:53:51 +0100 Subject: demux_mkv: support embedded coverart The code could as well be in demux.c, but it's better to avoid accidental clashes with demux_lavf.c. FFmpeg provides no way yet to map a mime type to a codec, so do it manually. (It _can_ map a mime type to an "input format", but not a codec.) Fixes #1374. --- demux/codec_tags.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'demux/codec_tags.h') diff --git a/demux/codec_tags.h b/demux/codec_tags.h index c31e389e98..3489f0da5c 100644 --- a/demux/codec_tags.h +++ b/demux/codec_tags.h @@ -28,4 +28,6 @@ void mp_set_codec_from_tag(struct sh_stream *sh); void mp_set_pcm_codec(struct sh_stream *sh, bool sign, bool is_float, int bits, bool is_be); +const char *mp_map_mimetype_to_video_codec(const char *mimetype); + #endif -- cgit v1.2.3