[Bug 733263] Building gst-plugins-good-1.0 from cerbero fail

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 29 08:11:56 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=733263
  GStreamer | packages | 1.x

Andres <andres.valdes> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andres.valdes at aveopro.com

--- Comment #1 from Andres <andres.valdes at aveopro.com> 2014-07-29 15:11:52 UTC ---
This bug still exist and I can confirm as well.

System info:
Ubuntu 12.04 LTS 32bit (VM using VMWare workstation 8)
Kernel version 3.11.0-26 generic

Steps performed which led to error:

git clone -b 1.2 git://anongit.freedesktop.org/gstreamer/sdk/cerbero
cerbero bootstrap
cerbero config/cross-android.cbc bootstrap
cerbero config/cross-android.cbc package gstreamer-1.0

gstv4l2object.c: In function 'gst_v4l2_object_set_format':
gstv4l2object.c:2384: error: 'union <anonymous>' has no member named 'pix_mp'
gstv4l2object.c:2385: error: 'union <anonymous>' has no member named 'pix_mp'
make[3]: *** [libgstvideo4linux2_la-gstv4l2object.lo] Error 1
make[3]: Leaving directory

A quick fix is open gstv4l2object.c and just replace pix_mp to pix as shown
below:

  /* If no size in caps, use configured size */
  if (width == 0 && height == 0) {
    width = format.fmt.pix_mp.width;
    height = format.fmt.pix_mp.height;
  }

change to

  /* If no size in caps, use configured size */
  if (width == 0 && height == 0) {
    width = format.fmt.pix.width;
    height = format.fmt.pix.height;
  }

This should fix this bug, but it should be updated in the code in git.

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