FreeBSD Bugzilla – Attachment 177164 Details for
Bug 214197
multimedia/mlt: fails to build with ffmpeg 3.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
workaround
mlt.no_vdpau.diff (text/plain), 2.48 KB, created by
Jan Beich
on 2016-11-19 00:03:20 UTC
(
hide
)
Description:
workaround
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2016-11-19 00:03:20 UTC
Size:
2.48 KB
patch
obsolete
>From a3eed85de958c8c5cac37e53e05b0c79159fbc5a Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Fri, 18 Nov 2016 23:58:11 +0000 >Subject: multimedia/mlt: disable VDPAU to unbreak with ffmpeg 3.x > >In file included from producer_avformat.c:153: >./vdpau.c:162:11: error: no member named 'type' in 'struct AVFrame' > frame->type = FF_BUFFER_TYPE_USER; > ~~~~~ ^ >./vdpau.c:162:18: error: use of undeclared identifier 'FF_BUFFER_TYPE_USER' > frame->type = FF_BUFFER_TYPE_USER; > ^ >./vdpau.c:165:16: error: no member named 'reference' in 'struct AVFrame' > if ( frame->reference ) > ~~~~~ ^ >./vdpau.c:239:21: error: no member named 'get_buffer' in 'struct AVCodecContext'; did you mean 'get_buffer2'? > self->video_codec->get_buffer = vdpau_get_buffer; > ^~~~~~~~~~ > get_buffer2 >/usr/local/include/libavcodec/avcodec.h:2565:11: note: 'get_buffer2' declared here > int (*get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags); > ^ >./vdpau.c:240:21: error: no member named 'release_buffer' in 'struct AVCodecContext' > self->video_codec->release_buffer = vdpau_release_buffer; > ~~~~~~~~~~~~~~~~~ ^ > >PR: 214197 >Approved by: portmgr blanket >--- > multimedia/mlt/Makefile | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/multimedia/mlt/Makefile b/multimedia/mlt/Makefile >index 36498dc..de15015 100644 >--- a/multimedia/mlt/Makefile >+++ b/multimedia/mlt/Makefile >@@ -2,7 +2,7 @@ > > PORTNAME= mlt > PORTVERSION= 6.2.0 >-PORTREVISION?= 2 >+PORTREVISION?= 3 > CATEGORIES?= multimedia > MASTER_SITES= SF/${PORTNAME}/${PORTNAME} > >@@ -43,7 +43,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES FFMPEG FREI0R GTK2 JACK KDE4 \ > SAMPLERATE SOX SWFDEC VDPAU VIDSTAB > OPTIONS_RADIO= QT > OPTIONS_RADIO_QT= QT4 QT5 >-OPTIONS_DEFAULT=FFMPEG FREI0R GTK2 QT4 SAMPLERATE SOX SWFDEC VDPAU VIDSTAB >+OPTIONS_DEFAULT=FFMPEG FREI0R GTK2 QT4 SAMPLERATE SOX SWFDEC VIDSTAB > OPTIONS_SUB= yes > > GTK2_DESC= Images and text rendering via GTK+ 2 >@@ -90,6 +90,8 @@ SWFDEC_USE= GNOME=glib20,cairo > > VDPAU_CONFIGURE_ON= --avformat-vdpau > VDPAU_CONFIGURE_OFF= --avformat-no-vdpau >+# vdpau.c:239:21: error: no member named 'get_buffer' in 'struct AVCodecContext' >+VDPAU_BROKEN= https://sourceforge.net/p/mlt/bugs/240/ > > VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab > VIDSTAB_CONFIGURE_ENABLE=vid.stab
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 214197
: 177164