OSDN Git Service

fix visual painting of MVs from h264: they are painted twice too long
authorAndreas Öman <andreas@olebyn.nu>
Sun, 15 Jul 2007 19:03:12 +0000 (19:03 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Sun, 15 Jul 2007 19:03:12 +0000 (19:03 +0000)
since the MVs are in qpel res.
Patch by Andreas Öman % andreas A olebyn P nu %
Date: Jul 14, 2007 12:40 PM
Subject: [FFmpeg-devel] [PATCH] h264 mv visualization

Originally committed as revision 9688 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 22c250e..5150581 100644 (file)
@@ -2938,6 +2938,7 @@ static int decode_init(AVCodecContext *avctx){
 
     // set defaults
 //    s->decode_mb= ff_h263_decode_mb;
+    s->quarter_sample = 1;
     s->low_delay= 1;
     avctx->pix_fmt= PIX_FMT_YUV420P;