mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 03:52:22 +02:00
map jls (jpeg-ls), thm and db (thumbnails) files to jpg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29025 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8c820cce48
commit
f8a56efb5c
@ -58,6 +58,8 @@ static int demux_mf_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds){
|
||||
return 1;
|
||||
}
|
||||
|
||||
// force extension/type to have a fourcc
|
||||
|
||||
static const struct {
|
||||
const char *type;
|
||||
uint32_t format;
|
||||
@ -65,6 +67,9 @@ static const struct {
|
||||
{ "bmp", mmioFOURCC('b', 'm', 'p', ' ') },
|
||||
{ "jpeg", mmioFOURCC('I', 'J', 'P', 'G') },
|
||||
{ "jpg", mmioFOURCC('I', 'J', 'P', 'G') },
|
||||
{ "jls", mmioFOURCC('I', 'J', 'P', 'G') },
|
||||
{ "thm", mmioFOURCC('I', 'J', 'P', 'G') },
|
||||
{ "db", mmioFOURCC('I', 'J', 'P', 'G') },
|
||||
{ "pcx", mmioFOURCC('p', 'c', 'x', ' ') },
|
||||
{ "png", mmioFOURCC('M', 'P', 'N', 'G') },
|
||||
{ "ptx", mmioFOURCC('p', 't', 'x', ' ') },
|
||||
|
Loading…
Reference in New Issue
Block a user