Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2015 13:50:54 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        multimedia@FreeBSD.org
Subject:   multimedia/libvpx: update to 1.4.0 breaks gstreamer-plugins-vp8
Message-ID:  <siao-u8yp-wny@vfemail.net>

next in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

I'm trying to update multimedia/libvpx but some ports fail to build after.
Among them is old gst-plugins-bad with vp8-only plugin enabled. It seems
upstream fixed the issue only after the code migrated to gst-plugins-good.

Can you approve the patch: https://reviews.freebsd.org/D2570 ?

gstvp8enc.c:848:16: error: use of undeclared identifier 'IMG_FMT_I420'; did you mean 'VPX_IMG_FMT_I420'?
  image->fmt = VPX_IMG_FMT_I420;
               ^~~~~~~~~~~~~~~~
               VPX_IMG_FMT_I420
./gstvp8utils.h:30:26: note: expanded from macro 'VPX_IMG_FMT_I420'
#define VPX_IMG_FMT_I420 IMG_FMT_I420
                         ^
/usr/local/include/vpx/./vpx_image.h:56:5: note: 'VPX_IMG_FMT_I420' declared here
    VPX_IMG_FMT_I420    = VPX_IMG_FMT_PLANAR | 2,
    ^
gstvp8enc.c:846:29: warning: 'memset' call operates on objects of type 'vpx_image_t' (aka 'struct vpx_image') while the size is based on a different type 'vpx_image_t *' (aka 'struct vpx_image *') [-Wsizeof-pointer-memaccess]
  memset (image, 0, sizeof (image));
          ~~~~~             ^~~~~
gstvp8enc.c:846:29: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
  memset (image, 0, sizeof (image));
                            ^~~~~
1 warning and 1 error generated.

http://package18.nyi.freebsd.org/data/101amd64-default-D2570/2015-05-18_19h56m07s/logs/errors/gstreamer-plugins-vp8-0.10.23_2,3.log

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJVXxgeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3b2k8IAJq3yxJVWpzfCoL87BzQvRcb
Gl1uqtTZA2kzWRPlRy+87uYcT//rv5Cjvi9o7ETrzP1ZfnYXaQTVpXfQgnioiKAK
vFbcGTwf6BBB7BjQQYpPaQEWp1LHVM0v4Yp69DaI62Z2CSh+8v9HOqYDgwrGX09w
73cN9JF+H6LxZj5wUBw5NWGNU49iLSmOz4eHvbJY5y8lcptFwAPfYHkhNZ5jMZS8
aGi0S3ppa3QsX28J/TRuRc48/1S+R2p8emKemplelSzqlfGOTQmWX2WuOiwjTlIq
raFZwmyL0spIy86PNxevhJb03Q1Pju4R8FW8ob4Wdubi0VkY6tdK0ok/4KlOq7c=
=mZvB
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?siao-u8yp-wny>