summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorOliver Freyermuth <o.freyermuth@googlemail.com>2016-01-20 20:56:10 +0100
committerwm4 <wm4@nowhere>2016-01-21 00:34:02 +0100
commit9a2a0b0bba600a76d405c64c7c8331ad3fade22f (patch)
tree478054274816bd73f61245b4c5c90690c13af525 /stream
parentb2a5c16a9d8a2b2103d60f0ac1c512800161ac74 (diff)
downloadmpv-9a2a0b0bba600a76d405c64c7c8331ad3fade22f.tar.bz2
mpv-9a2a0b0bba600a76d405c64c7c8331ad3fade22f.tar.xz
stream_dvb: add verbose output in non-DVBv5 querying.
May help in future debugging in case of old kernels with modern / obscure devices.
Diffstat (limited to 'stream')
-rw-r--r--stream/dvb_tune.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/stream/dvb_tune.c b/stream/dvb_tune.c
index de43907217..7b19f2df39 100644
--- a/stream/dvb_tune.c
+++ b/stream/dvb_tune.c
@@ -102,7 +102,9 @@ int dvb_get_tuner_types(int fe_fd, struct mp_log *log, int** tuner_types)
mp_err(log, "FE_GET_INFO error: %d, FD: %d\n\n", errno, fe_fd);
return 0;
}
-
+
+ mp_verbose(log, "Queried tuner type of device named '%s', FD: %d\n",
+ fe_info.name, fe_fd);
switch (fe_info.type) {
case FE_OFDM:
mp_verbose(log, "Tuner type seems to be DVB-T\n");