aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libschroedingerenc.c
diff options
context:
space:
mode:
authorAnuradha Suraparaju <anuradha@rd.bbc.co.uk>2008-09-09 14:47:47 +0000
committerDiego Biurrun <diego@biurrun.de>2008-09-09 14:47:47 +0000
commitd7c96d6623b1262ca169fd727170e4d36fb1c500 (patch)
tree71f0b5a3739775fc3e048a65c9cef8e38d7ca151 /libavcodec/libschroedingerenc.c
parent91ba93e68b324e387eda914c7383b5e18b1df002 (diff)
downloadffmpeg-d7c96d6623b1262ca169fd727170e4d36fb1c500.tar.gz
Add support for creating Simple Profile (I-frame only, no arithmetic coding)
Dirac bytestreams. patch by Anuradha Suraparaju, anuradha rd.bbc.co uk Originally committed as revision 15286 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libschroedingerenc.c')
-rw-r--r--libavcodec/libschroedingerenc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/libschroedingerenc.c b/libavcodec/libschroedingerenc.c
index 03d9312e54..2d84621279 100644
--- a/libavcodec/libschroedingerenc.c
+++ b/libavcodec/libschroedingerenc.c
@@ -149,6 +149,11 @@ static int libschroedinger_encode_init(AVCodecContext *avccontext)
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,