[Bug 214192] multimedia/bino: fails to build with ffmpeg 3.x

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 18 22:02:43 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214192

--- Comment #3 from commit-hook at 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 == 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_id !=
CODEC_ID_TEXT)
                                                                               
             ^~~~~~~~~~~~~
                                                                               
             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 =
(_ffmpeg->video_frame_templates[j].layout == 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

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


More information about the freebsd-ports-bugs mailing list