[MPlayer-cvslog] r32773 - in trunk: etc/codecs.conf libmpcodecs/vd_ffmpeg.c

cehoyos subversion at mplayerhq.hu
Sun Jan 9 19:47:47 CET 2011


Author: cehoyos
Date: Sun Jan  9 19:47:46 2011
New Revision: 32773

Log:
Enable fflagarith video decoder.

Modified:
   trunk/etc/codecs.conf
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/etc/codecs.conf
==============================================================================
--- trunk/etc/codecs.conf	Sun Jan  9 00:35:15 2011	(r32772)
+++ trunk/etc/codecs.conf	Sun Jan  9 19:47:46 2011	(r32773)
@@ -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."

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Sun Jan  9 00:35:15 2011	(r32772)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Sun Jan  9 19:47:46 2011	(r32773)
@@ -283,7 +283,7 @@ static int init(sh_video_t *sh){
     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;


More information about the MPlayer-cvslog mailing list