# HG changeset patch # User cehoyos # Date 1294598866 0 # Node ID cf80c8f31a1b39ee278513349a31a3c46dfb0d45 # Parent 3bb138f3c6343c6146b4e5eeaaab2710232003f4 Enable fflagarith video decoder. diff -r 3bb138f3c634 -r cf80c8f31a1b etc/codecs.conf --- 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." diff -r 3bb138f3c634 -r cf80c8f31a1b libmpcodecs/vd_ffmpeg.c --- 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;