mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -1746,13 +1746,14 @@ gst_dvbsrc_open_frontend (GstDvbSrc * object, gboolean writable)
|
||||||
gst_structure_set (adapter_structure, "turbo", G_TYPE_STRING, "TURBO",
|
gst_structure_set (adapter_structure, "turbo", G_TYPE_STRING, "TURBO",
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
#if HAVE_V5_MINOR(6)
|
||||||
if (gst_dvbsrc_check_delsys (&dvb_prop[0], SYS_DVBC_ANNEX_C)) {
|
if (gst_dvbsrc_check_delsys (&dvb_prop[0], SYS_DVBC_ANNEX_C)) {
|
||||||
object->supported_delsys = g_list_append (object->supported_delsys,
|
object->supported_delsys = g_list_append (object->supported_delsys,
|
||||||
GINT_TO_POINTER (SYS_DVBC_ANNEX_C));
|
GINT_TO_POINTER (SYS_DVBC_ANNEX_C));
|
||||||
gst_structure_set (adapter_structure, "dvb-c-c", G_TYPE_STRING,
|
gst_structure_set (adapter_structure, "dvb-c-c", G_TYPE_STRING,
|
||||||
"DVB-C ANNEX C", NULL);
|
"DVB-C ANNEX C", NULL);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_TRACE_OBJECT (object, "%s description: %" GST_PTR_FORMAT, adapter_name,
|
GST_TRACE_OBJECT (object, "%s description: %" GST_PTR_FORMAT, adapter_name,
|
||||||
adapter_structure);
|
adapter_structure);
|
||||||
|
|
Loading…
Reference in a new issue