Cerbero build error

yoyosuper8 yoyosuper8 at yahoo.com
Tue Jul 29 08:13:51 PDT 2014


I have come across this same problem and posted a fix in the bug report that
lestoilfante posted in bugzilla.
Here is the link: https://bugzilla.gnome.org/show_bug.cgi?id=733263

Here is the post:

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.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Cerbero-build-error-tp4667947p4668120.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list