mirror of https://github.com/mpv-player/mpv
dvb: Skip channel if ATSC device does not support cable / terr.
This matches what is done for the other multi-delivery-system cards. Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
parent
add0cbea2a
commit
de0c1dd4f5
|
@ -603,7 +603,9 @@ static dvb_channels_list_t *dvb_get_channels(struct mp_log *log,
|
|||
} else {
|
||||
delsys = SYS_DVBC_ANNEX_B;
|
||||
}
|
||||
mp_verbose(log, "Defined delivery system for ATSC as %s from modulation.\n",
|
||||
if (!DELSYS_IS_SET(delsys_mask, delsys))
|
||||
continue; /* Skip channel. */
|
||||
mp_verbose(log, "Switched to delivery system for ATSC: %s (guessed from modulation).\n",
|
||||
get_dvb_delsys(delsys));
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue