options: remove --ignore-start

This was used only with demux_avi.
This commit is contained in:
wm4
2013-07-08 21:59:44 +02:00
parent 31f685040b
commit 9bb7935ce1
5 changed files with 0 additions and 21 deletions
-5
View File
@@ -1044,11 +1044,6 @@
This option only works if the underlying media supports seeking
(i.e. not with stdin, pipe, etc).
``--ignore-start``
Matters with the builtin AVI demuxer only, which is not enabled by default.
Ignore the specified starting time for streams in AVI files. This
nullifies stream delays.
``--include=<configuration-file>``
Specify configuration file to be parsed after the default ones.
-9
View File
@@ -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;
-3
View File
@@ -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},
-1
View File
@@ -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;
-3
View File
@@ -78,9 +78,6 @@ struct sh_stream {
/* usually a FourCC, exact meaning depends on gsh->format */ \
unsigned int format; \
int initialized; \
/* number of seconds stream should be delayed \
* (according to dwStart or similar) */ \
float stream_delay; \
/* audio: last known pts value in output from decoder \
* video: predicted/interpolated PTS of the current frame */ \
double pts; \