Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2016 22:02:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214192] multimedia/bino: fails to build with ffmpeg 3.x
Message-ID:  <bug-214192-13-Zz82eyQeMZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214192-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214192-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214192

--- Comment #3 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Nov 18 22:01:35 UTC 2016
New revision: 426347
URL: https://svnweb.freebsd.org/changeset/ports/426347

Log:
  multimedia/bino: unbreak build with ffmpeg 3.x

  src/media_object.cpp:435:41: error: use of undeclared identifier
'PIX_FMT_YUV444P'; did you mean 'AV_PIX_FMT_YUV444P'?
          if (video_codec_ctx->pix_fmt =3D=3D PIX_FMT_YUV444P
                                          ^~~~~~~~~~~~~~~
                                          AV_PIX_FMT_YUV444P
  /usr/local/include/libavutil/pixfmt.h:67:5: note: 'AV_PIX_FMT_YUV444P'
declared here
      AV_PIX_FMT_YUV444P,   ///< planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample=
 per
1x1 Y samples)
      ^
  src/media_object.cpp:1943:92: error: use of undeclared identifier
'CODEC_ID_TEXT'; did you mean 'AV_CODEC_ID_TEXT'?
          if
(_ffmpeg->format_ctx->streams[_ffmpeg->subtitle_streams[i]]->codec->codec_i=
d !=3D
CODEC_ID_TEXT)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
             ^~~~~~~~~~~~~
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
             AV_CODEC_ID_TEXT
  /usr/local/include/libavcodec/avcodec.h:606:5: note: 'AV_CODEC_ID_TEXT'
declared here
      AV_CODEC_ID_TEXT,  ///< raw UTF-8 text
      ^
  src/media_object.cpp:935:45: error: use of undeclared identifier
'avcodec_alloc_frame'
              _ffmpeg->video_frames.push_back(avcodec_alloc_frame());
                                              ^
  src/media_object.cpp:937:18: error: ISO C++ forbids forward references to
'enum' types
              enum PixelFormat frame_fmt =3D
(_ffmpeg->video_frame_templates[j].layout =3D=3D video_frame::bgra32
                   ^

  PR:           214192
  Obtained from:        upstream (based on)
  Approved by:  portmgr blanket

Changes:
  head/multimedia/bino/Makefile
  head/multimedia/bino/files/patch-src-media_object.cpp
  head/multimedia/bino/files/patch-src_media__object.cpp

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214192-13-Zz82eyQeMZ>