From dddb4e5ebdaa419115bb35a3a540818a5fcfbb0a Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 9 Apr 2013 02:32:58 +0200 Subject: 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. --- core/defaultopts.c | 1 + 1 file changed, 1 insertion(+) (limited to 'core') 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, -- cgit v1.2.3