diff options
-rw-r--r-- | etc/codecs.conf | 8 | ||||
-rw-r--r-- | libmpcodecs/vd_ffmpeg.c | 2 |
2 files changed, 9 insertions, 1 deletions
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; |