summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-02 14:02:32 +0200
committerwm4 <wm4@nowhere>2015-07-02 14:02:37 +0200
commit899dfa957f23bc92c2fa54bda9b856435639fd8c (patch)
treedd30ae9da01aff363e822ee0deb2a005d08cd7a5 /player/core.h
parentff25c0ad7d7c3d1ca6f147a689884afc24e4b250 (diff)
downloadmpv-899dfa957f23bc92c2fa54bda9b856435639fd8c.tar.bz2
mpv-899dfa957f23bc92c2fa54bda9b856435639fd8c.tar.xz
player: unentangle --stream-dump
The final goal is making opening the demuxer and opening the stream the same operation. Stream dumping is a rather uninteresting feature, but has a small number of vocal users, and it's easy to keep.
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h
index b3e8018b12..06d3a29734 100644
--- a/player/core.h
+++ b/player/core.h
@@ -425,7 +425,7 @@ float mp_get_cache_percent(struct MPContext *mpctx);
bool mp_get_cache_idle(struct MPContext *mpctx);
void update_window_title(struct MPContext *mpctx, bool force);
void error_on_track(struct MPContext *mpctx, struct track *track);
-void stream_dump(struct MPContext *mpctx);
+int stream_dump(struct MPContext *mpctx, const char *source_filename);
int mpctx_run_reentrant(struct MPContext *mpctx, void (*thread_fn)(void *arg),
void *thread_arg);
struct mpv_global *create_sub_global(struct MPContext *mpctx);