#include "parsechannels.h"
+#include <linux/dvb/frontend.h>
+
GST_DEBUG_CATEGORY_EXTERN (dvb_base_bin_debug);
#define GST_CAT_DEFAULT dvb_base_bin_debug
if (strcmp (type, "terrestrial") == 0) {
gchar *val;
+ g_object_set (dvbbasebin, "delsys", SYS_DVBT, NULL);
+
val = g_hash_table_lookup (params, "inversion");
if (strcmp (val, "INVERSION_OFF") == 0)
g_object_set (dvbbasebin, "inversion", 0, NULL);
ret = TRUE;
+ g_object_set (dvbbasebin, "delsys", SYS_DVBS, NULL);
+
val = g_hash_table_lookup (params, "polarity");
if (val)
g_object_set (dvbbasebin, "polarity", val, NULL);
} else if (strcmp (type, "cable") == 0) {
gchar *val;
+ g_object_set (dvbbasebin, "delsys", SYS_DVBC_ANNEX_A, NULL);
+
ret = TRUE;
val = g_hash_table_lookup (params, "symbol-rate");
if (val)
ret = TRUE;
+ g_object_set (dvbbasebin, "delsys", SYS_ATSC, NULL);
+
val = g_hash_table_lookup (params, "modulation");
if (strcmp (val, "QAM_64") == 0)
g_object_set (dvbbasebin, "modulation", 3, NULL);