Mercurial > libavcodec.hg
diff libschroedingerenc.c @ 7839:e6348a5656e0 libavcodec
Add support for creating Simple Profile (I-frame only, no arithmetic coding)
Dirac bytestreams. patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
author | diego |
---|---|
date | Tue, 09 Sep 2008 14:47:47 +0000 |
parents | 2f5b98d0aa13 |
children | e9d9d946f213 |
line wrap: on
line diff
--- a/libschroedingerenc.c Tue Sep 09 14:42:50 2008 +0000 +++ b/libschroedingerenc.c Tue Sep 09 14:47:47 2008 +0000 @@ -149,6 +149,11 @@ schro_encoder_setting_set_double (p_schro_params->encoder, "gop_structure", SCHRO_ENCODER_GOP_INTRA_ONLY); + + if (avccontext->coder_type == FF_CODER_TYPE_VLC) { + schro_encoder_setting_set_double (p_schro_params->encoder, + "enable_noarith", 1); + } } else { schro_encoder_setting_set_double (p_schro_params->encoder,