core: restore --mc default value (fixes A/V sync)

Commit bc20f2c moved the variable default_max_pts_correction (which
backs the --mc option) to the MPOpts struct. The initializer was
forgotten when doing this, so it was left at 0. This disabled part of
the A/V sync mechanism. This was apparent when using ad_spdif (this
decoder has other A/V sync related problems, and thus triggers this
issue easily).

Closes #59.
This commit is contained in:
wm4 2013-04-09 02:32:58 +02:00
parent ae9e7b5a4a
commit dddb4e5ebd
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ void set_default_mplayer_options(struct MPOpts *opts)
.stream_cache_pause = 10.0,
.chapterrange = {-1, -1},
.edition_id = -1,
.default_max_pts_correction = -1,
.user_correct_pts = -1,
.initial_audio_sync = 1,
.term_osd = 2,