mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
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
1 changed files with 9 additions and 0 deletions
|
@ -123,6 +123,11 @@
|
|||
|
||||
#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 */
|
||||
#ifndef NO_STREAM_ID_FILTER
|
||||
#define NO_STREAM_ID_FILTER (~0U)
|
||||
|
@ -377,7 +382,9 @@ gst_dvbsrc_delsys_get_type (void)
|
|||
{SYS_DAB, "DAB", "dab"},
|
||||
{SYS_DVBT2, "DVB-T2", "dvb-t2"},
|
||||
{SYS_TURBO, "TURBO", "turbo"},
|
||||
#if HAVE_V5_MINOR(6)
|
||||
{SYS_DVBC_ANNEX_C, "DVB-C-C", "dvb-c-c"},
|
||||
#endif
|
||||
{0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
@ -1720,7 +1727,9 @@ gst_dvbsrc_tune (GstDvbSrc * object)
|
|||
break;
|
||||
case SYS_DVBC_ANNEX_A:
|
||||
case SYS_DVBC_ANNEX_B:
|
||||
#if HAVE_V5_MINOR(6)
|
||||
case SYS_DVBC_ANNEX_C:
|
||||
#endif
|
||||
GST_INFO_OBJECT (object, "Tuning DVB-C/ClearCable to %d, srate=%d",
|
||||
freq, sym_rate);
|
||||
|
||||
|
|
Loading…
Reference in a new issue