diff options
author | Andreas Öman <andreas@olebyn.nu> | 2007-07-15 19:03:12 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2007-07-15 19:03:12 +0000 |
commit | 9a5a05d0b37b7a9345e928290c54af20528ac27f (patch) | |
tree | 336355c9c5e46829fb76b0dab205827d8a01e529 /libavcodec/h264.c | |
parent | c4194cc6067f8f450722ff7c4ab4ba71aecd584b (diff) | |
download | ffmpeg-9a5a05d0b37b7a9345e928290c54af20528ac27f.tar.gz |
fix visual painting of MVs from h264: they are painted twice too long
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
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 22c250ea99..515058116f 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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; |