Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 550050

Summary: =media-plugins/gst-plugins-vp8-0.10.23-r2: error: 'IMG_FMT_I420' undeclared
Product: Gentoo Linux Reporter: Andrew Petelin <adrianopol>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=547310
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Andrew Petelin 2015-05-21 13:51:36 UTC
Created attachment 403726 [details]
emerge --info

Case:

Try to rebuild media-plugins/gst-plugins-vp8.

Error:

> In file included from /var/tmp/portage/media-plugins/gst-plugins-vp8-0.10.23-r2/work/gst-plugins-bad-0.10.23/ext/vp8/gstvp8enc.c:56:0:
> /var/tmp/portage/media-plugins/gst-plugins-vp8-0.10.23-r2/work/gst-plugins-bad-0.10.23/ext/vp8/gstvp8utils.h:30:26: error: 'IMG_FMT_I420' undeclared (first use in this function)
>  #define VPX_IMG_FMT_I420 IMG_FMT_I420
>                           ^
> /var/tmp/portage/media-plugins/gst-plugins-vp8-0.10.23-r2/work/gst-plugins-bad-0.10.23/ext/vp8/gstvp8enc.c:851:16: note: in expansion of macro 'VPX_IMG_FMT_I420'
>    image->fmt = VPX_IMG_FMT_I420;
                ^

Reason:

Macro IMG_FMT_I420 was removed in https://gerrit.chromium.org/gerrit/#/c/70164/3/vpx/vpx_image.h,unified.

More information:

http://libvpx.sourcearchive.com/documentation/0.9.2-1build1/vpx__image_8h_a9891a2c5bb6f75d29b7a8f7d94ce20db.html:
> #define IMG_FMT_I420   VPX_IMG_FMT_I420
> Deprecated:
>     Use VPX_IMG_FMT_I420
> Definition at line 91 of file vpx_image.h.
Comment 1 Mike Gilbert gentoo-dev 2015-05-21 14:09:05 UTC

*** This bug has been marked as a duplicate of bug 550004 ***