summaryrefslogtreecommitdiffstats
path: root/stream/dvbin.h
diff options
context:
space:
mode:
authorOliver Freyermuth <o.freyermuth@googlemail.com>2014-12-31 02:20:14 +0100
committerwm4 <wm4@nowhere>2015-01-06 19:52:27 +0100
commit7fe5d8c78e32bd7f609d410c3b769060630553fb (patch)
tree64aba89e31d3ce21cf4308d1508e6aff25fe88b5 /stream/dvbin.h
parent0c42484d8e7b064b69d92f209cf2cb082f756b97 (diff)
downloadmpv-7fe5d8c78e32bd7f609d410c3b769060630553fb.tar.bz2
mpv-7fe5d8c78e32bd7f609d410c3b769060630553fb.tar.xz
dvb: Extend understanding of VDR channel config: stream_id, inversion.
Now also "stream ID" (for DVB-S2) and "inversion" are understood. The parameter-string can also provide information on FEC, rolloff etc. For DVB-S, "auto" which mpv uses by default should be fine, I can also confirm it works. For non-DVB-S cards, it might be useful to also parse this information in case of a vdr-channel list. As I have no such hardware and thus would have to do it blindly, I added a FIXME. Mostly complete vdr-channels.conf format documentation is at http://www.vdr-wiki.de/wiki/index.php/Channels.conf (german only).
Diffstat (limited to 'stream/dvbin.h')
-rw-r--r--stream/dvbin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/dvbin.h b/stream/dvbin.h
index d4df55119a..0b2cc27537 100644
--- a/stream/dvbin.h
+++ b/stream/dvbin.h
@@ -64,6 +64,7 @@ typedef struct {
char pol;
int tpid, dpid1, dpid2, progid, ca, pids[DMX_FILTER_SIZE], pids_cnt;
bool is_dvb_s2;
+ int stream_id;
fe_spectral_inversion_t inv;
fe_modulation_t mod;
fe_transmit_mode_t trans;