]> git.sesse.net Git - vlc/blobdiff - modules/codec/dts.c
set rc_method = X264_RC_CQP if qp is set
[vlc] / modules / codec / dts.c
index eef996edf8ba52a0f02cc1c14f5f50dce22a250e..a588bbcf25f6a9a5b1a06ec744851e2cf0750291 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_codec.h>
 #include <vlc_aout.h>
@@ -129,7 +133,7 @@ static int OpenDecoder( vlc_object_t *p_this )
     p_sys->i_state = STATE_NOSYNC;
     aout_DateSet( &p_sys->end_date, 0 );
 
-    p_sys->bytestream = block_BytestreamInit( p_dec );
+    p_sys->bytestream = block_BytestreamInit();
 
     /* Set output properties */
     p_dec->fmt_out.i_cat = AUDIO_ES;