From 9a021242a9cd6d033be8e1294ffc827406a49b22 Mon Sep 17 00:00:00 2001 From: cehoyos Date: Sun, 9 Jan 2011 18:47:46 +0000 Subject: [PATCH] codecs.conf, vd_ffmpeg: Enable fflagarith video decoder git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32773 b3059339-0415-0410-9bf9-f77b7e298cf2 --- etc/codecs.conf | 8 ++++++++ libmpcodecs/vd_ffmpeg.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/etc/codecs.conf b/etc/codecs.conf index afcbb74c2e..d353bb5716 100644 --- a/etc/codecs.conf +++ b/etc/codecs.conf @@ -2042,6 +2042,14 @@ videocodec cineformhd 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 --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index 6cb296729c..058446936d 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -192,7 +192,7 @@ static int init(sh_video_t *sh){ if(sh->opts->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;