diff options
author | wm4 <wm4@nowhere> | 2013-04-09 02:32:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-04-09 02:39:18 +0200 |
commit | dddb4e5ebdaa419115bb35a3a540818a5fcfbb0a (patch) | |
tree | 99d53af33a47d76446266d205e1f8cd0ec8cc574 | |
parent | ae9e7b5a4a28ef549cc047f94f41aae8c24de2b6 (diff) | |
download | mpv-dddb4e5ebdaa419115bb35a3a540818a5fcfbb0a.tar.bz2 mpv-dddb4e5ebdaa419115bb35a3a540818a5fcfbb0a.tar.xz |
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.
-rw-r--r-- | core/defaultopts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/defaultopts.c b/core/defaultopts.c index 44ec8f1978..b5bac128dd 100644 --- a/core/defaultopts.c +++ b/core/defaultopts.c @@ -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, |