[Bug 721869] dvbsrc needs to conditionally build for older dvb headers

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 11 07:52:25 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=721869
  GStreamer | gst-plugins-bad | git

--- Comment #16 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2014-04-11 14:52:20 UTC ---
Almost! This second patch gives me:

  CC     libgstdvb_la-gstdvbsrc.lo
gstdvbsrc.c: In function 'gst_dvbsrc_open_frontend':
gstdvbsrc.c:1100:5: error: case value '5' not in enumerated type 'fe_type_t'
[-Werror=switch]
gstdvbsrc.c:1110:5: error: case value '11' not in enumerated type 'fe_type_t'
[-Werror=switch]
gstdvbsrc.c:1009:25: error: unused variable 'props' [-Werror=unused-variable]
cc1: all warnings being treated as errors
make: *** [libgstdvb_la-gstdvbsrc.lo] Error 1


SYS_DVBS and SYS_ATSC are in fe_delivery_system_t, not fe_type_t. The latter
contains:
        FE_QPSK,
        FE_QAM,
        FE_OFDM,
        FE_ATSC    

dvb_frontend_info does not contain a fe_delivery_system_t field in my version.

I guess the other SYS_* are also wrong, but the enum values collide with
existing fe_type_t ones and GCC ignores them.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list