]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
fix visual painting of MVs from h264: they are painted twice too long
authorgpoirier <gpoirier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 15 Jul 2007 19:03:12 +0000 (19:03 +0000)
committergpoirier <gpoirier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 15 Jul 2007 19:03:12 +0000 (19:03 +0000)
since the MVs are in qpel res.
Patch by Andreas Oman % andreas A olebyn P nu %
Date: Jul 14, 2007 12:40 PM
Subject: [FFmpeg-devel] [PATCH] h264 mv visualization

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9688 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/h264.c

index 22c250ea996fc6d808d70a0dcfbebc12071a02e4..515058116f12e950e4fb25686fcb9cbc6289ea37 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;