dvbsrc: add modulation checks for DVB-T and T2

This commit is contained in:
Reynaldo H. Verdejo Pinochet 2016-05-12 14:12:09 -07:00
parent e5ec6f102e
commit 793c1a2423

View file

@ -2065,6 +2065,14 @@ gst_dvbsrc_is_valid_modulation (guint delsys, guint mod)
if (mod == VSB_8 || mod == VSB_16)
return TRUE;
break;
case SYS_DVBT:
if (mod == QPSK || mod == QAM_16 || mod == QAM_64)
return TRUE;
break;
case SYS_DVBT2:
if (mod == QPSK || mod == QAM_16 || mod == QAM_64 || mod == QAM_256)
return TRUE;
break;
default:
GST_FIXME ("No delsys/modulation sanity checks implemented for this "
"delivery system");