summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-09-01 16:06:41 +0200
committerAnton Kindestam <antonki@kth.se>2018-12-06 10:31:10 +0100
commit9d8afcf79e3a4b563800dcf7fc08779355e9d602 (patch)
tree4e7e6e74d02f2b692194b79569d895d3ccbf7652 /demux/demux.h
parent02756c3735f8e7e8ac6b5ca1168b68a6a325122d (diff)
downloadmpv-9d8afcf79e3a4b563800dcf7fc08779355e9d602.tar.bz2
mpv-9d8afcf79e3a4b563800dcf7fc08779355e9d602.tar.xz
demux: add another stream recording feature
--record-file is nice, but only sometimes. If you watch some sort of livestream which you want to record, it's actually much nicer not to record what you're currently "seeing", but anything you're receiving.
Diffstat (limited to 'demux/demux.h')
-rw-r--r--demux/demux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux.h b/demux/demux.h
index 956548d90b..4fcf8cfbae 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -178,6 +178,7 @@ struct demuxer_params {
bstr init_fragment;
bool skip_lavf_probing;
bool does_not_own_stream; // if false, stream is free'd on demux_free()
+ bool stream_record; // if true, enable stream recording if option is set
// -- demux_open_url() only
int stream_flags;
// result