summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-16 07:11:12 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:41:05 +0300
commit9b06b5ed85ec28097428e7fe35631ce3a04685b5 (patch)
tree8fbb0ad6eecb1f337e153d5c6eb7fa2378b805f4 /mencoder.c
parent0d59f81e546946648dfca93da6b74479d31369bc (diff)
downloadmpv-9b06b5ed85ec28097428e7fe35631ce3a04685b5.tar.bz2
mpv-9b06b5ed85ec28097428e7fe35631ce3a04685b5.tar.xz
Move correct_pts to options struct
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mencoder.c b/mencoder.c
index dc318d3a07..873a4af734 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -91,6 +91,7 @@
#include "libmpcodecs/ae.h"
#include "options.h"
+#include "defaultopts.h"
MPOpts opts;
@@ -419,11 +420,10 @@ ao_data_t ao_data = {0,0,0,0,OUTBURST,-1,0};
audio_encoding_params_t aparams;
audio_encoder_t *aencoder = NULL;
-user_correct_pts = 0;
-
mp_msg_init();
// Create the config context and register the options
+ set_default_mencoder_options(&opts);
mconfig = m_config_new(&opts);
m_config_register_options(mconfig,mencoder_opts);