mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffserver: Don't set me_method unconditionally
Patch by Howard Chu, hyc at highlandsun dot com Originally committed as revision 23155 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0156fcf252
commit
1bf5228eb6
@ -3843,6 +3843,7 @@ static void add_codec(FFStream *stream, AVCodecContext *av)
|
||||
av->nsse_weight = 8;
|
||||
|
||||
av->frame_skip_cmp = FF_CMP_DCTMAX;
|
||||
if (!av->me_method)
|
||||
av->me_method = ME_EPZS;
|
||||
av->rc_buffer_aggressivity = 1.0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user