stream_dvb: add verbose output in non-DVBv5 querying.

May help in future debugging in case of old kernels
with modern / obscure devices.
This commit is contained in:
Oliver Freyermuth 2016-01-20 20:56:10 +01:00 committed by wm4
parent b2a5c16a9d
commit 9a2a0b0bba
1 changed files with 3 additions and 1 deletions

View File

@ -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");