mirror of https://github.com/mpv-player/mpv
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:
parent
ae9e7b5a4a
commit
dddb4e5ebd
|
@ -56,6 +56,7 @@ void set_default_mplayer_options(struct MPOpts *opts)
|
||||||
.stream_cache_pause = 10.0,
|
.stream_cache_pause = 10.0,
|
||||||
.chapterrange = {-1, -1},
|
.chapterrange = {-1, -1},
|
||||||
.edition_id = -1,
|
.edition_id = -1,
|
||||||
|
.default_max_pts_correction = -1,
|
||||||
.user_correct_pts = -1,
|
.user_correct_pts = -1,
|
||||||
.initial_audio_sync = 1,
|
.initial_audio_sync = 1,
|
||||||
.term_osd = 2,
|
.term_osd = 2,
|
||||||
|
|
Loading…
Reference in New Issue