diff options
author | Oliver Freyermuth <o.freyermuth@googlemail.com> | 2019-10-01 23:40:35 +0200 |
---|---|---|
committer | Oliver Freyermuth <o.freyermuth@googlemail.com> | 2019-10-02 01:25:45 +0200 |
commit | 1768ea0d1576136130cb5f2b7f459704031bafd2 (patch) | |
tree | 1134f01f64b457177762b403cb84360524379ba7 /stream/dvbin.h | |
parent | c15ec393dd2b75fa0b7c7f567abd16528e43ce44 (diff) | |
download | mpv-1768ea0d1576136130cb5f2b7f459704031bafd2.tar.bz2 mpv-1768ea0d1576136130cb5f2b7f459704031bafd2.tar.xz |
stream_dvb: Move stream->is_on initialization to state preparation.
Notably, this allows to call dvb_streaming_start more than once,
simplifying e.g. channel switching.
Also, get rid of unused timeout variable.
Diffstat (limited to 'stream/dvbin.h')
-rw-r--r-- | stream/dvbin.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/dvbin.h b/stream/dvbin.h index 745e77f80a..c184f189e7 100644 --- a/stream/dvbin.h +++ b/stream/dvbin.h @@ -110,7 +110,6 @@ typedef struct { int is_on; int retry; - int timeout; unsigned int last_freq; bool switching_channel; bool stream_used; |