After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 722077 - v4l2: compile error - 'V4L2_CAP_VIDEO_M2M_MPLANE' undeclared
v4l2: compile error - 'V4L2_CAP_VIDEO_M2M_MPLANE' undeclared
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.3.1
Assigned To: Nicolas Dufresne (ndufresne)
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-13 06:43 UTC by David Schleef
Modified: 2014-01-13 15:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Schleef 2014-01-13 06:43:36 UTC
commit cf32d6ec broken compilation on Ubuntu quantal, glibc 2.15.

commit cf32d6ec4344ead1da7f56373b5805c5477e7ded
Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Date:   Thu Nov 28 17:07:05 2013 -0500

    v4l2object: Implement gst_v4l2_dup()
    
    This will duplicated the FD from another object and copy over the probed res
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720568




v4l2_calls.c: In function 'gst_v4l2_adjust_buf_type':
v4l2_calls.c:487:46: error: 'V4L2_CAP_VIDEO_M2M_MPLANE' undeclared (first use in this function)
v4l2_calls.c:487:46: note: each undeclared identifier is reported only once for each function it appears in
make: *** [libgstvideo4linux2_la-v4l2_calls.lo] Error 1
Comment 1 Vincent Penquerc'h 2014-01-13 09:16:03 UTC
commit b80e3a4690e88868439fe4d2a412369a2da20215
Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Date:   Mon Jan 13 09:14:00 2014 +0000

    v4l2: fix build break using V4L2_CAP_VIDEO_M2M_MPLANE
    
    This may not be defined. Since the previous version used
    only the other define (V4L2_CAP_VIDEO_OUTPUT_MPLANE), fall
    back on this only when not available.
Comment 2 Nicolas Dufresne (ndufresne) 2014-01-13 15:35:51 UTC
Thansk, we usually define the missing define, but this should work just right. We should consider a v4l2-compat.h, it's kind of tricky sine this API has no version.