mirror of
https://github.com/mpv-player/mpv
synced 2025-03-01 03:40:43 +00:00
Use MSZH and ZLIB decoders from libavcodec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11785 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0a29f9acde
commit
2e7229ae12
3
configure
vendored
3
configure
vendored
@ -6131,6 +6131,9 @@ $_def_kstat
|
||||
|
||||
/* Define this if you have zlib */
|
||||
$_def_zlib
|
||||
#ifdef HAVE_ZLIB
|
||||
#define CONFIG_ZLIB
|
||||
#endif
|
||||
|
||||
/* Define this if you have shm support */
|
||||
$_def_shm
|
||||
|
@ -258,6 +258,22 @@ videocodec cvid
|
||||
out YUY2
|
||||
out BGR32,BGR24
|
||||
|
||||
videocodec ffmszh
|
||||
info "AVImszh (native codec)"
|
||||
status working
|
||||
fourcc MSZH
|
||||
driver ffmpeg
|
||||
dll "mszh"
|
||||
out BGR24
|
||||
|
||||
videocodec ffzlib
|
||||
info "AVIzlib (native codec)"
|
||||
status working
|
||||
fourcc ZLIB
|
||||
driver ffmpeg
|
||||
dll "zlib"
|
||||
out BGR24
|
||||
|
||||
videocodec mpmszh
|
||||
info "AVImszh (native codec)"
|
||||
status working
|
||||
|
@ -285,7 +285,9 @@ static int init(sh_video_t *sh){
|
||||
sh->format == mmioFOURCC('W','M','V','2') ||
|
||||
sh->format == mmioFOURCC('A','S','V','1') ||
|
||||
sh->format == mmioFOURCC('A','S','V','2') ||
|
||||
sh->format == mmioFOURCC('V','S','S','H')
|
||||
sh->format == mmioFOURCC('V','S','S','H') ||
|
||||
sh->format == mmioFOURCC('M','S','Z','H') ||
|
||||
sh->format == mmioFOURCC('Z','L','I','B')
|
||||
))
|
||||
{
|
||||
avctx->extradata_size = sh->bih->biSize-sizeof(BITMAPINFOHEADER);
|
||||
|
Loading…
Reference in New Issue
Block a user