diff options
author | wm4 <wm4@nowhere> | 2015-05-30 21:58:33 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-30 22:01:09 +0200 |
commit | a075dfb52c01101c1c7dd53fdd994a05e9a62fb9 (patch) | |
tree | e3356dfc97694fd6341b739e89d6a77dbd877828 /player | |
parent | 31704730036c7b51cffc48b4a2b2fd9e2b269693 (diff) | |
download | mpv-a075dfb52c01101c1c7dd53fdd994a05e9a62fb9.tar.bz2 mpv-a075dfb52c01101c1c7dd53fdd994a05e9a62fb9.tar.xz |
audio: remove an old hack
This was a cosmetic issue. It's handled differently now (clamping the
display time to known duration range).
This reverts commit 33b57f55573e658b3af6c6e8ff3188c8f959e82e.
Diffstat (limited to 'player')
-rw-r--r-- | player/audio.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/player/audio.c b/player/audio.c index 034325594f..7a52acbc9a 100644 --- a/player/audio.c +++ b/player/audio.c @@ -424,7 +424,7 @@ static bool get_sync_samples(struct MPContext *mpctx, int *skip) return true; } -static void do_fill_audio_out_buffers(struct MPContext *mpctx, double endpts) +void fill_audio_out_buffers(struct MPContext *mpctx, double endpts) { struct MPOpts *opts = mpctx->opts; struct dec_audio *d_audio = mpctx->d_audio; @@ -591,15 +591,6 @@ static void do_fill_audio_out_buffers(struct MPContext *mpctx, double endpts) } } -void fill_audio_out_buffers(struct MPContext *mpctx, double endpts) -{ - do_fill_audio_out_buffers(mpctx, endpts); - // Run audio playback state machine again to display the actual audio PTS - // as current time on OSD in audio-only mode in most situations. - if (mpctx->audio_status == STATUS_SYNCING) - do_fill_audio_out_buffers(mpctx, endpts); -} - // Drop data queued for output, or which the AO is currently outputting. void clear_audio_output_buffers(struct MPContext *mpctx) { |