summaryrefslogtreecommitdiffstats
path: root/core/mp_core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-17 20:24:59 +0100
committerwm4 <wm4@nowhere>2013-02-17 21:06:28 +0100
commit8a60122f80af3eb4a5b1110f5377abe6c7137d90 (patch)
tree47a9106ef860e8758b8fba5e95c56a1ca08c03fc /core/mp_core.h
parent32500b5e11ad9cae6de8d31e8d51ee98a3cff690 (diff)
downloadmpv-8a60122f80af3eb4a5b1110f5377abe6c7137d90.tar.bz2
mpv-8a60122f80af3eb4a5b1110f5377abe6c7137d90.tar.xz
command: add "cache" read-only property
Diffstat (limited to 'core/mp_core.h')
-rw-r--r--core/mp_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/mp_core.h b/core/mp_core.h
index 37045aeddb..97aeb0d00e 100644
--- a/core/mp_core.h
+++ b/core/mp_core.h
@@ -292,6 +292,7 @@ struct track *mp_track_by_tid(struct MPContext *mpctx, enum stream_type type,
int tid);
bool mp_remove_track(struct MPContext *mpctx, struct track *track);
struct playlist_entry *mp_next_file(struct MPContext *mpctx, int direction);
+int mp_get_cache_percent(struct MPContext *mpctx);
// timeline/tl_matroska.c
void build_ordered_chapter_timeline(struct MPContext *mpctx);