mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
dvb/parsechannels: recognize additional bandwidths at zap parsing
Previously ignored 1.712, 5 and 10 MHz values are also valid
This commit is contained in:
parent
441072834e
commit
8e9e3f58c9
1 changed files with 6 additions and 0 deletions
|
@ -256,6 +256,12 @@ set_properties_for_channel (GstElement * dvbbasebin,
|
|||
g_object_set (dvbbasebin, "bandwidth", 1, NULL);
|
||||
else if (strcmp (val, "BANDWIDTH_6_MHZ") == 0)
|
||||
g_object_set (dvbbasebin, "bandwidth", 2, NULL);
|
||||
else if (strcmp (val, "BANDWIDTH_5_MHZ") == 0)
|
||||
g_object_set (dvbbasebin, "bandwidth", 4, NULL);
|
||||
else if (strcmp (val, "BANDWIDTH_10_MHZ") == 0)
|
||||
g_object_set (dvbbasebin, "bandwidth", 5, NULL);
|
||||
else if (strcmp (val, "BANDWIDTH_1_712_MHZ") == 0)
|
||||
g_object_set (dvbbasebin, "bandwidth", 6, NULL);
|
||||
else
|
||||
g_object_set (dvbbasebin, "bandwidth", 3, NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue