summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-09 12:00:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-09 12:00:05 +0000
commit61846e9ac3456fdc4f67b5d2b4c03da638a5b838 (patch)
tree71c0b25076a4c41c7af044060b09e9b4ccc42a74 /ffplay.c
parent5f6c92d40c2003471b005cc05430ec8488000867 (diff)
lowres needs EMU_EDGE
Originally committed as revision 3575 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 661bc2c401..c2f7ec5e6d 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1166,6 +1166,7 @@ static int stream_component_open(VideoState *is, int stream_index)
enc->debug = debug;
enc->workaround_bugs = workaround_bugs;
enc->lowres = lowres;
+ if(lowres) enc->flags |= CODEC_FLAG_EMU_EDGE;
enc->idct_algo= idct;
if(fast) enc->flags2 |= CODEC_FLAG2_FAST;
if (!codec ||