dvbsrc: Use proper variable for delivery system

We want to check the delivery system is ISDBT (and not the modulation
which we check later in that case).

CID 
This commit is contained in:
Edward Hervey 2014-09-12 14:49:44 +02:00
parent 77b850c08d
commit 562880bef9

View file

@ -1929,7 +1929,7 @@ static gboolean
gst_dvbsrc_is_valid_modulation (guint delsys, guint mod)
{
/* FIXME: check valid modulations for other broadcast standards */
switch (mod) {
switch (delsys) {
case SYS_ISDBT:
if (mod == QAM_AUTO || mod == QPSK || mod == QAM_16 ||
mod == QAM_64 || mod == DQPSK)