Mercurial > mplayer.hg
changeset 32686:cf80c8f31a1b
Enable fflagarith video decoder.
author | cehoyos |
---|---|
date | Sun, 09 Jan 2011 18:47:46 +0000 |
parents | 3bb138f3c634 |
children | 8bb538487b50 |
files | etc/codecs.conf libmpcodecs/vd_ffmpeg.c |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/codecs.conf Sat Jan 08 23:35:15 2011 +0000 +++ b/etc/codecs.conf Sun Jan 09 18:47:46 2011 +0000 @@ -2042,6 +2042,14 @@ guid 0xAD83011E, 0x01d1, 0x4623, 0x91, 0xfd, 0x6b, 0x75, 0xf1, 0x83, 0xc5, 0xa9 out UYVY +videocodec fflagarith + info "Lagarith Lossless Video Codec" + status buggy + fourcc LAGS + driver ffmpeg + dll lagarith + out YV12 + videocodec lagarith info "Lagarith Lossless Video Codec" comment "http://lags.leetcode.net/codec.html, requires an MMX2 CPU."
--- a/libmpcodecs/vd_ffmpeg.c Sat Jan 08 23:35:15 2011 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sun Jan 09 18:47:46 2011 +0000 @@ -283,7 +283,7 @@ if(vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !do_vis_debug) ctx->do_slices=1; - if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO && lavc_codec->id != CODEC_ID_ROQ && lavc_codec->id != CODEC_ID_VP8) + if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO && lavc_codec->id != CODEC_ID_ROQ && lavc_codec->id != CODEC_ID_VP8 && lavc_codec->id != CODEC_ID_LAGARITH) ctx->do_dr1=1; ctx->b_age= ctx->ip_age[0]= ctx->ip_age[1]= 256*256*256*64; ctx->ip_count= ctx->b_count= 0;