comparison libschroedingerenc.c @ 11680:f665332a6dea libavcodec

schroenc: Don't touch gop_structure by default, it should be left adaptive
author conrad
date Wed, 05 May 2010 21:02:37 +0000
parents 7dd2a45249a9
children 04c086666e50
comparison
equal deleted inserted replaced
11679:fe1e6103b68d 11680:f665332a6dea
151 151
152 if (avccontext->coder_type == FF_CODER_TYPE_VLC) 152 if (avccontext->coder_type == FF_CODER_TYPE_VLC)
153 schro_encoder_setting_set_double(p_schro_params->encoder, 153 schro_encoder_setting_set_double(p_schro_params->encoder,
154 "enable_noarith", 1); 154 "enable_noarith", 1);
155 } else { 155 } else {
156 schro_encoder_setting_set_double(p_schro_params->encoder,
157 "gop_structure",
158 SCHRO_ENCODER_GOP_BIREF);
159 avccontext->has_b_frames = 1; 156 avccontext->has_b_frames = 1;
160 } 157 }
161 158
162 /* FIXME - Need to handle SCHRO_ENCODER_RATE_CONTROL_LOW_DELAY. */ 159 /* FIXME - Need to handle SCHRO_ENCODER_RATE_CONTROL_LOW_DELAY. */
163 if (avccontext->flags & CODEC_FLAG_QSCALE) { 160 if (avccontext->flags & CODEC_FLAG_QSCALE) {