mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
dvb/parsechannels: use proper fe_spectral_inversion enum identifiers
This commit is contained in:
parent
39c50e7b85
commit
b84b682275
1 changed files with 3 additions and 3 deletions
|
@ -243,11 +243,11 @@ set_properties_for_channel (GstElement * dvbbasebin,
|
|||
|
||||
val = g_hash_table_lookup (params, "inversion");
|
||||
if (strcmp (val, "INVERSION_OFF") == 0)
|
||||
g_object_set (dvbbasebin, "inversion", 0, NULL);
|
||||
g_object_set (dvbbasebin, "inversion", INVERSION_OFF, NULL);
|
||||
else if (strcmp (val, "INVERSION_ON") == 0)
|
||||
g_object_set (dvbbasebin, "inversion", 1, NULL);
|
||||
g_object_set (dvbbasebin, "inversion", INVERSION_ON, NULL);
|
||||
else
|
||||
g_object_set (dvbbasebin, "inversion", 2, NULL);
|
||||
g_object_set (dvbbasebin, "inversion", INVERSION_AUTO, NULL);
|
||||
|
||||
val = g_hash_table_lookup (params, "bandwidth");
|
||||
if (strcmp (val, "BANDWIDTH_8_MHZ") == 0)
|
||||
|
|
Loading…
Reference in a new issue