summaryrefslogtreecommitdiffstats
path: root/core/mplayer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-11 22:19:33 +0200
committerwm4 <wm4@nowhere>2013-05-12 21:51:57 +0200
commitfaad40aad92d51290ef2fc4d94277eca89863873 (patch)
tree48979e16495ec04765f8e684610750821b80332a /core/mplayer.c
parente6e5a7b221ef2fcdd5a1982d6fdcb627100447d2 (diff)
downloadmpv-faad40aad92d51290ef2fc4d94277eca89863873.tar.bz2
mpv-faad40aad92d51290ef2fc4d94277eca89863873.tar.xz
core: add --stream-capture
This is a partial revert of commit 7059c15, and basically re-adds --capture, just with different option names and slightly different semantics.
Diffstat (limited to 'core/mplayer.c')
-rw-r--r--core/mplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/mplayer.c b/core/mplayer.c
index 361d3d5466..ed8de9eb36 100644
--- a/core/mplayer.c
+++ b/core/mplayer.c
@@ -4233,6 +4233,8 @@ goto_enable_cache: ;
if (demux_was_interrupted(mpctx))
goto terminate_playback;
+ stream_set_capture_file(mpctx->stream, opts->stream_capture);
+
//============ Open DEMUXERS --- DETECT file type =======================
mpctx->audio_delay = opts->audio_delay;