Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739584 - media-libs/mlt-6.20.0-r2 USE=ffmpeg with media-video/ffmpeg-9999 - consumer_avformat.c:425:33: error: ‘AVCodec’ {aka ‘struct AVCodec’} has no member named ‘send_frame’
Summary: media-libs/mlt-6.20.0-r2 USE=ffmpeg with media-video/ffmpeg-9999 - consumer_a...
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:
 
Reported: 2020-08-30 01:27 UTC by gerion
Modified: 2020-09-13 11:19 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,218.31 KB, text/plain)
2020-08-30 01:28 UTC, gerion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gerion 2020-08-30 01:27:09 UTC
media-libs/mlt fails to build with newer ffmpeg:
```
consumer_avformat.c:425:33: error: ‘AVCodec’ {aka ‘struct AVCodec’} has no member named ‘send_frame’
  425 |    if ( (codec->encode2 || codec->send_frame) && codec->type == AVMEDIA_TYPE_AUDIO )
      |                                 ^~
consumer_avformat.c:449:3: warning: ‘av_codec_next’ is deprecated [-Wdeprecated-declarations]
  449 |   while ( ( codec = av_codec_next( codec ) ) )
      |   ^~~~~
In file included from /usr/include/libavformat/avformat.h:312,
                 from consumer_avformat.c:39:
/usr/include/libavcodec/avcodec.h:2710:10: note: declared here
 2710 | AVCodec *av_codec_next(const AVCodec *c);
      |          ^~~~~~~~~~~~~
consumer_avformat.c:451:33: error: ‘AVCodec’ {aka ‘struct AVCodec’} has no member named ‘send_frame’
  451 |    if ( (codec->encode2 || codec->send_frame) && codec->type == AVMEDIA_TYPE_VIDEO )
      |                                 ^~
```

Reproducible: Always

Steps to Reproduce:
1. emerge =ffmpeg-9999 mlt[ffmpeg]



See attached build log for more details.
Comment 1 gerion 2020-08-30 01:28:11 UTC
Created attachment 657454 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2020-09-13 11:19:03 UTC
The bug has been closed via the following commit(s):

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

commit 39dbc23a903a60f81c1093435fcb33ddec336c4c
Author:     Henrik Pihl <ahvenas@gmail.com>
AuthorDate: 2020-08-05 09:26:24 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-09-13 11:18:12 +0000

    media-libs/mlt: version bump to 6.22.1
    
    - removed ChangeLog from installation, removed from source
    - removed patches that have been applied upstream
    - fixes compile error with ffmpeg git, upstream commit e029a399
    
    Closes: https://bugs.gentoo.org/739584
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Henrik Pihl <ahvenas@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/17012
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/mlt/Manifest          |   1 +
 media-libs/mlt/mlt-6.22.1.ebuild | 200 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 201 insertions(+)