mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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 #1238439
This commit is contained in:
parent
77b850c08d
commit
562880bef9
1 changed files with 1 additions and 1 deletions
|
@ -1929,7 +1929,7 @@ static gboolean
|
||||||
gst_dvbsrc_is_valid_modulation (guint delsys, guint mod)
|
gst_dvbsrc_is_valid_modulation (guint delsys, guint mod)
|
||||||
{
|
{
|
||||||
/* FIXME: check valid modulations for other broadcast standards */
|
/* FIXME: check valid modulations for other broadcast standards */
|
||||||
switch (mod) {
|
switch (delsys) {
|
||||||
case SYS_ISDBT:
|
case SYS_ISDBT:
|
||||||
if (mod == QAM_AUTO || mod == QPSK || mod == QAM_16 ||
|
if (mod == QAM_AUTO || mod == QPSK || mod == QAM_16 ||
|
||||||
mod == QAM_64 || mod == DQPSK)
|
mod == QAM_64 || mod == DQPSK)
|
||||||
|
|
Loading…
Reference in a new issue