mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 04:45:33 +00:00
BMP support for mf://
Patch by lode leroy [lode_leroy hotmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22921 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fe56fcafba
commit
60ecafec69
@ -105,6 +105,8 @@ static demuxer_t* demux_open_mf(demuxer_t* demuxer){
|
||||
if ( !strcasecmp( mf_type,"png" )) sh_video->format = mmioFOURCC('M', 'P', 'N', 'G' );
|
||||
else
|
||||
if ( !strcasecmp( mf_type,"tga" )) sh_video->format = mmioFOURCC('M', 'T', 'G', 'A' );
|
||||
else
|
||||
if ( !strcasecmp( mf_type,"bmp" )) sh_video->format = mmioFOURCC('b', 'm', 'p', ' ' );
|
||||
else
|
||||
if (!strcasecmp( mf_type,"sgi" )) sh_video->format = mmioFOURCC('S', 'G', 'I', '1');
|
||||
else { mp_msg(MSGT_DEMUX, MSGL_INFO, "[demux_mf] unknown input file type.\n" ); free( mf ); return NULL; }
|
||||
|
Loading…
Reference in New Issue
Block a user