mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-07 19:22:15 +00:00
dvbsrc: add modulation checks for DVB-T and T2
This commit is contained in:
parent
e5ec6f102e
commit
793c1a2423
1 changed files with 8 additions and 0 deletions
|
@ -2065,6 +2065,14 @@ gst_dvbsrc_is_valid_modulation (guint delsys, guint mod)
|
||||||
if (mod == VSB_8 || mod == VSB_16)
|
if (mod == VSB_8 || mod == VSB_16)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
break;
|
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:
|
default:
|
||||||
GST_FIXME ("No delsys/modulation sanity checks implemented for this "
|
GST_FIXME ("No delsys/modulation sanity checks implemented for this "
|
||||||
"delivery system");
|
"delivery system");
|
||||||
|
|
Loading…
Reference in a new issue