Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2016 15:23:08 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428353 - head/multimedia/mlt
Message-ID:  <201612111523.uBBFN8Lq098529@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Dec 11 15:23:08 2016
New Revision: 428353
URL: https://svnweb.freebsd.org/changeset/ports/428353

Log:
  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
  Reported by:	antoine (via exp-run)
  Suggested by:	matthew@reztek.cz
  Approved by:	portmgr blanket

Modified:
  head/multimedia/mlt/Makefile   (contents, props changed)

Modified: head/multimedia/mlt/Makefile
==============================================================================
--- head/multimedia/mlt/Makefile	Sun Dec 11 15:22:47 2016	(r428352)
+++ head/multimedia/mlt/Makefile	Sun Dec 11 15:23:08 2016	(r428353)
@@ -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 FRE
 		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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612111523.uBBFN8Lq098529>