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

Bug 654830

Summary: www-plugins/freshplayerplugin-0.3.9 : /.../ppb_video_decoder.c:623:37: error: CODEC_CAP_TRUNCATED undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: NeedPatch
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 653678    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
www-plugins:freshplayerplugin-0.3.9:20180504-124350.log

Description Toralf Förster gentoo-dev 2018-05-04 13:37:53 UTC
                             ^~~~~~~~~~~~~
/var/tmp/portage/www-plugins/freshplayerplugin-0.3.9/work/freshplayerplugin-0.3.9/src/ppb_video_decoder.c: In function ‘initialize_decoder’:
/var/tmp/portage/www-plugins/freshplayerplugin-0.3.9/work/freshplayerplugin-0.3.9/src/ppb_video_decoder.c:623:37: error: ‘CODEC_CAP_TRUNCATED’ undeclared (first use in this function); did you mean ‘AV_CODEC_CAP_TRUNCATED’?
     if (vd->avcodec->capabilities & CODEC_CAP_TRUNCATED) {
                                     ^~~~~~~~~~~~~~~~~~~
                                     AV_CODEC_CAP_TRUNCATED

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_ffmpeg4_20180501-112342

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv www-plugins/freshplayerplugin
[ebuild  N    ] www-plugins/freshplayerplugin-0.3.9  USE="vdpau -gles2 -jack -libav -libressl -pulseaudio -v4l -vaapi"
Comment 1 Toralf Förster gentoo-dev 2018-05-04 13:37:56 UTC
Created attachment 529766 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-04 13:37:59 UTC
Created attachment 529768 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-04 13:38:02 UTC
Created attachment 529770 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-04 13:38:05 UTC
Created attachment 529772 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-04 13:38:08 UTC
Created attachment 529774 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-04 13:38:11 UTC
Created attachment 529776 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-05-04 13:38:14 UTC
Created attachment 529778 [details]
www-plugins:freshplayerplugin-0.3.9:20180504-124350.log
Comment 8 Eugene Shalygin 2018-07-15 11:59:09 UTC
Required changes were made in 3 days after releasing 0.3.9: 
https://github.com/i-rinat/freshplayerplugin/commit/934aa9c24d34f8203744b56e4ac6e8599446ca02.patch
Comment 9 Larry the Git Cow gentoo-dev 2018-11-05 19:15:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf68742d9375fd12be42f3da94aec4541096c16f

commit cf68742d9375fd12be42f3da94aec4541096c16f
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-11-05 19:12:44 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-11-05 19:15:18 +0000

    www-plugins/freshplayerplugin: Fix building with >=media-video/ffmpeg-4.0
    
    Closes: https://bugs.gentoo.org/654830
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 .../files/freshplayerplugin-0.3.9-ffmpeg-4.patch   | 74 ++++++++++++++++++++++
 .../freshplayerplugin-0.3.9.ebuild                 |  8 ++-
 2 files changed, 80 insertions(+), 2 deletions(-)