dvbsrc: fix unconditional use of SYS_DVBC_ANNEX_C
It is not defined for < v5 minor 6
This commit is contained in:
parent
43aa0462f4
commit
1dbbd4c91e
@ -1746,13 +1746,14 @@ gst_dvbsrc_open_frontend (GstDvbSrc * object, gboolean writable)
|
||||
gst_structure_set (adapter_structure, "turbo", G_TYPE_STRING, "TURBO",
|
||||
NULL);
|
||||
}
|
||||
|
||||
#if HAVE_V5_MINOR(6)
|
||||
if (gst_dvbsrc_check_delsys (&dvb_prop[0], SYS_DVBC_ANNEX_C)) {
|
||||
object->supported_delsys = g_list_append (object->supported_delsys,
|
||||
GINT_TO_POINTER (SYS_DVBC_ANNEX_C));
|
||||
gst_structure_set (adapter_structure, "dvb-c-c", G_TYPE_STRING,
|
||||
"DVB-C ANNEX C", NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
GST_TRACE_OBJECT (object, "%s description: %" GST_PTR_FORMAT, adapter_name,
|
||||
adapter_structure);
|
||||
|
Loading…
x
Reference in New Issue
Block a user