From faad40aad92d51290ef2fc4d94277eca89863873 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 11 May 2013 22:19:33 +0200 Subject: 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. --- core/mplayer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/mplayer.c') 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; -- cgit v1.2.3