Commit 61846e9a authored by Michael Niedermayer's avatar Michael Niedermayer

lowres needs EMU_EDGE

Originally committed as revision 3575 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5f6c92d4
...@@ -1166,6 +1166,7 @@ static int stream_component_open(VideoState *is, int stream_index) ...@@ -1166,6 +1166,7 @@ static int stream_component_open(VideoState *is, int stream_index)
enc->debug = debug; enc->debug = debug;
enc->workaround_bugs = workaround_bugs; enc->workaround_bugs = workaround_bugs;
enc->lowres = lowres; enc->lowres = lowres;
if(lowres) enc->flags |= CODEC_FLAG_EMU_EDGE;
enc->idct_algo= idct; enc->idct_algo= idct;
if(fast) enc->flags2 |= CODEC_FLAG2_FAST; if(fast) enc->flags2 |= CODEC_FLAG2_FAST;
if (!codec || if (!codec ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment