[gstreamer-bugs] [Bug 639339] v4l2: fails to build with older kernels due to missing V4L_FIELD_INTERLACED_{TB, BT}

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 12 14:45:44 PST 2011


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
            Version|0.10.x                      |git
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.27
            Summary|gst-plugins-good-0.10.26.3: |v4l2: fails to build with
                   |fails to build v4l2         |older kernels due to
                   |                            |missing
                   |                            |V4L_FIELD_INTERLACED_{TB,BT
                   |                            |}

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-01-12 22:45:42 UTC ---
This should fix it:

 commit 9dcb60822f2befa8d5eeee7d927681a7406427fc
 Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
 Date:   Wed Jan 12 20:38:59 2011 +0000

    v4l2: define V4L2_FIELD_INTERLACED_{TB,BT} if not available in header

    Older kernels don't have these, and there's no easy way to check for the
    existance of enums that doesn't involve a configure check, so just define
    these if the V4L2_CAP_VIDEO_OUTPUT_OVERLAY define is not there, which was
    added in the same commit as the TB/BT enum. Fixes compilation on CentOS 5.

    https://bugzilla.gnome.org/show_bug.cgi?id=639339

-- 
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