changeset 11683:83d14d771e80 libavcodec

schroenc: Set open-gop
author conrad
date Wed, 05 May 2010 21:02:49 +0000
parents 5173cc26d42f
children b4aff04c10cf
files libschroedingerenc.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libschroedingerenc.c	Wed May 05 21:02:45 2010 +0000
+++ b/libschroedingerenc.c	Wed May 05 21:02:49 2010 +0000
@@ -194,6 +194,9 @@
         schro_encoder_setting_set_double(p_schro_params->encoder,
                                          "interlaced_coding", 1);
 
+    schro_encoder_setting_set_double(p_schro_params->encoder, "open_gop",
+                                     !(avccontext->flags & CODEC_FLAG_CLOSED_GOP));
+
     /* FIXME: Signal range hardcoded to 8-bit data until both libschroedinger
      * and libdirac support other bit-depth data. */
     schro_video_format_set_std_signal_range(p_schro_params->format,