dvbsrc: map SYS_DVBC_ANNEX_A SYS_DVBC_ANNEX_AC for DVB API < 5.6
https://bugzilla.gnome.org/show_bug.cgi?id=721869
This commit is contained in:
parent
038d9794a1
commit
b67f64cf5d
@ -123,6 +123,11 @@
|
|||||||
|
|
||||||
#include <gst/gst-i18n-plugin.h>
|
#include <gst/gst-i18n-plugin.h>
|
||||||
|
|
||||||
|
/* Before 5.6 we map A to AC */
|
||||||
|
#if !HAVE_V5_MINOR(6)
|
||||||
|
#define SYS_DVBC_ANNEX_A SYS_DVBC_ANNEX_AC
|
||||||
|
#endif
|
||||||
|
|
||||||
/* NO_STREAM_ID_FILTER introduced in minor 8 */
|
/* NO_STREAM_ID_FILTER introduced in minor 8 */
|
||||||
#ifndef NO_STREAM_ID_FILTER
|
#ifndef NO_STREAM_ID_FILTER
|
||||||
#define NO_STREAM_ID_FILTER (~0U)
|
#define NO_STREAM_ID_FILTER (~0U)
|
||||||
@ -377,7 +382,9 @@ gst_dvbsrc_delsys_get_type (void)
|
|||||||
{SYS_DAB, "DAB", "dab"},
|
{SYS_DAB, "DAB", "dab"},
|
||||||
{SYS_DVBT2, "DVB-T2", "dvb-t2"},
|
{SYS_DVBT2, "DVB-T2", "dvb-t2"},
|
||||||
{SYS_TURBO, "TURBO", "turbo"},
|
{SYS_TURBO, "TURBO", "turbo"},
|
||||||
|
#if HAVE_V5_MINOR(6)
|
||||||
{SYS_DVBC_ANNEX_C, "DVB-C-C", "dvb-c-c"},
|
{SYS_DVBC_ANNEX_C, "DVB-C-C", "dvb-c-c"},
|
||||||
|
#endif
|
||||||
{0, NULL, NULL},
|
{0, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1720,7 +1727,9 @@ gst_dvbsrc_tune (GstDvbSrc * object)
|
|||||||
break;
|
break;
|
||||||
case SYS_DVBC_ANNEX_A:
|
case SYS_DVBC_ANNEX_A:
|
||||||
case SYS_DVBC_ANNEX_B:
|
case SYS_DVBC_ANNEX_B:
|
||||||
|
#if HAVE_V5_MINOR(6)
|
||||||
case SYS_DVBC_ANNEX_C:
|
case SYS_DVBC_ANNEX_C:
|
||||||
|
#endif
|
||||||
GST_INFO_OBJECT (object, "Tuning DVB-C/ClearCable to %d, srate=%d",
|
GST_INFO_OBJECT (object, "Tuning DVB-C/ClearCable to %d, srate=%d",
|
||||||
freq, sym_rate);
|
freq, sym_rate);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user