diff options
author | Oliver Freyermuth <o.freyermuth@googlemail.com> | 2016-01-07 23:55:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-14 00:36:53 +0100 |
commit | 16723d4bb1e0fbb8fd15faf590890103bb9753a5 (patch) | |
tree | 8d7b84b2da83d7a2a85be879d3d9300c809d38ba /stream/stream_dvd_common.c | |
parent | 4c3f95708f7176b52f979d860ce0b98d16e184d0 (diff) | |
download | mpv-16723d4bb1e0fbb8fd15faf590890103bb9753a5.tar.bz2 mpv-16723d4bb1e0fbb8fd15faf590890103bb9753a5.tar.xz |
stream_dvb: persist state-information across channel-switches.
The state-structure is kept in a static pointer and reused on
recreation of the stream.
To not leak the state and the FDs within upon mpv shutdown,
the state-structure is still destructed gracefully in dvbin_close(),
unless a channel switch has been initiated directly before.
This fixes channel-switching for DVB which was broken since a609877.
Diffstat (limited to 'stream/stream_dvd_common.c')
0 files changed, 0 insertions, 0 deletions