summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-23 11:39:07 +0200
committerwm4 <wm4@nowhere>2014-08-23 11:39:07 +0200
commit21f52aeeba2e8462c609006317251417ad9f3db3 (patch)
treec9f8a2a5258c80475a834ceab5a8c4656c820495 /player/core.h
parentb55e09307581e45746f11a2eab2409a389c79012 (diff)
downloadmpv-21f52aeeba2e8462c609006317251417ad9f3db3.tar.bz2
mpv-21f52aeeba2e8462c609006317251417ad9f3db3.tar.xz
audio: minor improvements to timeline switching
In theory, timestamps can be negative, so we shouldn't just return -1 as special value. Remove the separate code for clearing decode buffers; use the same code that is used for normal seek reset.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h
index 2c5328df38..800b9bf90a 100644
--- a/player/core.h
+++ b/player/core.h
@@ -365,7 +365,6 @@ double playing_audio_pts(struct MPContext *mpctx);
void fill_audio_out_buffers(struct MPContext *mpctx, double endpts);
double written_audio_pts(struct MPContext *mpctx);
void clear_audio_output_buffers(struct MPContext *mpctx);
-void clear_audio_decode_buffers(struct MPContext *mpctx);
// configfiles.c
void mp_parse_cfgfiles(struct MPContext *mpctx);