summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-08 21:59:44 +0200
committerwm4 <wm4@nowhere>2013-07-08 21:59:44 +0200
commit9bb7935ce186d55aaaafd708e7559345082ecabc (patch)
tree257740b53e32cd2d748f71544380252bcbfacc21 /core
parent31f685040bd2152d541ed16cf441c6b5e7e430fd (diff)
downloadmpv-9bb7935ce186d55aaaafd708e7559345082ecabc.tar.bz2
mpv-9bb7935ce186d55aaaafd708e7559345082ecabc.tar.xz
options: remove --ignore-start
This was used only with demux_avi.
Diffstat (limited to 'core')
-rw-r--r--core/mplayer.c9
-rw-r--r--core/options.c3
-rw-r--r--core/options.h1
3 files changed, 0 insertions, 13 deletions
diff --git a/core/mplayer.c b/core/mplayer.c
index 019d37081d..bb6a87642e 100644
--- a/core/mplayer.c
+++ b/core/mplayer.c
@@ -4298,15 +4298,6 @@ goto_reopen_demuxer: ;
//================ SETUP STREAMS ==========================
- if (mpctx->sh_video) {
- if (!opts->ignore_start)
- mpctx->audio_delay += mpctx->sh_video->stream_delay;
- }
- if (mpctx->sh_audio) {
- if (!opts->ignore_start)
- mpctx->audio_delay -= mpctx->sh_audio->stream_delay;
- }
-
if (opts->force_fps && mpctx->sh_video) {
mpctx->sh_video->fps = opts->force_fps;
mpctx->sh_video->frametime = 1.0f / mpctx->sh_video->fps;
diff --git a/core/options.c b/core/options.c
index c0e64b0dcd..d676cb4948 100644
--- a/core/options.c
+++ b/core/options.c
@@ -430,9 +430,6 @@ const m_option_t mp_opts[] = {
// set a-v distance
OPT_FLOATRANGE("audio-delay", audio_delay, 0, -100.0, 100.0),
- // ignore header-specified delay (dwStart)
- OPT_FLAG("ignore-start", ignore_start, 0),
-
// ------------------------- codec/vfilter options --------------------
{"af*", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
diff --git a/core/options.h b/core/options.h
index f7be4adb02..d46435bf9e 100644
--- a/core/options.h
+++ b/core/options.h
@@ -105,7 +105,6 @@ typedef struct MPOpts {
float hr_seek_demuxer_offset;
float audio_delay;
float default_max_pts_correction;
- int ignore_start;
int autosync;
int softsleep;
int frame_dropping;