Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655442 - media-video/mplayer-1.3.0-r5 with media-video/ffmpeg-4.0 - libmpcodecs/vd_ffmpeg.c:197:34: error: 'AV_PIX_FMT_XVMC_MPEG2_IDCT' undeclared (first use in this function); did you mean 'AV_PIX_FMT_VAAPI_IDCT'?
Summary: media-video/mplayer-1.3.0-r5 with media-video/ffmpeg-4.0 - libmpcodecs/vd_ffm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-4
  Show dependency tree
 
Reported: 2018-05-11 06:17 UTC by Markus
Modified: 2018-11-06 11:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
media-video:mplayer-1.3.0-r5:20180511-060509.log (media-video:mplayer-1.3.0-r5:20180511-060509.log,216.88 KB, text/plain)
2018-05-11 06:18 UTC, Markus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus 2018-05-11 06:17:11 UTC
mplayer fails to build with ffmpeg-4:
libmpcodecs/vd_ffmpeg.c: In function 'control':
libmpcodecs/vd_ffmpeg.c:197:34: error: 'AV_PIX_FMT_XVMC_MPEG2_IDCT' undeclared (first use in this function); did you mean 'AV_PIX_FMT_VAAPI_IDCT'?
             if(avctx->pix_fmt == AV_PIX_FMT_XVMC_MPEG2_IDCT) return CONTROL_TRUE;
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                  AV_PIX_FMT_VAAPI_IDCT

mplayer-9999 also fails.
Comment 1 Markus 2018-05-11 06:18:49 UTC
Created attachment 530780 [details]
media-video:mplayer-1.3.0-r5:20180511-060509.log
Comment 2 Franz Brauße 2018-05-11 06:51:52 UTC
Xvmc support has been dropped from ffmpeg: https://github.com/FFmpeg/FFmpeg/commit/b46613dd9b8b4adc68312a283486c33c109aab19

Try emerging w/ USE=-xvmc
Comment 3 Markus 2018-05-11 07:15:36 UTC
You are right, it builds fine without xvmc.

So its just about reflecting this change in the dependencies of mplayer.
Comment 4 Larry the Git Cow gentoo-dev 2018-09-16 17:47:28 UTC
The bug has been referenced in the following commit(s):

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

commit 68ad2898bf0b99a7b0cd9ef94d7cc926fb100487
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-09-16 17:46:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-09-16 17:46:56 +0000

    media-video/mplayer: Drop USE xvmc
    
    support is gone in ffmpeg upstream.
    
    Bug: https://bugs.gentoo.org/655442
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 media-video/mplayer/mplayer-9999.ebuild | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)
Comment 5 Alexis Ballier gentoo-dev 2018-11-06 11:01:35 UTC
(In reply to Larry the Git Cow from comment #4)
> The bug has been referenced in the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=68ad2898bf0b99a7b0cd9ef94d7cc926fb100487
> 
> commit 68ad2898bf0b99a7b0cd9ef94d7cc926fb100487
> Author:     Andreas Sturmlechner <asturm@gentoo.org>
> AuthorDate: 2018-09-16 17:46:49 +0000
> Commit:     Andreas Sturmlechner <asturm@gentoo.org>
> CommitDate: 2018-09-16 17:46:56 +0000
> 
>     media-video/mplayer: Drop USE xvmc
>     
>     support is gone in ffmpeg upstream.
>     
>     Bug: https://bugs.gentoo.org/655442
>     Package-Manager: Portage-2.3.49, Repoman-2.3.10
> 
>  media-video/mplayer/mplayer-9999.ebuild | 13 +++----------
>  1 file changed, 3 insertions(+), 10 deletions(-)

this can be closed then
Comment 6 Larry the Git Cow gentoo-dev 2018-11-06 11:20:49 UTC
The bug has been closed via the following commit(s):

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

commit d276334e02fd4748584aad9bc304d598d805dd52
Author:     Alexis Ballier <aballier@gentoo.org>
AuthorDate: 2018-11-06 11:04:47 +0000
Commit:     Alexis Ballier <aballier@gentoo.org>
CommitDate: 2018-11-06 11:20:33 +0000

    media-video/mplayer: Backport xvmc removal.
    
    Manually cherry picked from 68ad2898bf0b99a7b0cd9ef94d7cc926fb100487
    
    Closes: https://bugs.gentoo.org/655442
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Alexis Ballier <aballier@gentoo.org>

 media-video/mplayer/metadata.xml            |  1 -
 media-video/mplayer/mplayer-1.3.0-r5.ebuild | 15 ++++-----------
 2 files changed, 4 insertions(+), 12 deletions(-)