gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #47301] cannot build against ffmpeg-3.0


From: anonymous
Subject: [Gnash-commit] [bug #47301] cannot build against ffmpeg-3.0
Date: Sun, 28 Feb 2016 20:35:49 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0

URL:
  <http://savannah.gnu.org/bugs/?47301>

                 Summary: cannot build against ffmpeg-3.0
                 Project: Gnash - The GNU Flash player
            Submitted by: None
            Submitted on: Sun 28 Feb 2016 20:35:48 UTC
                Category: video-ffmpeg
                Severity: 3 - Normal
                 Release: master
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Making all in libmedia
make[2]: Entering directory `/home/l29ah/tmp/gnash/libmedia'
  CXX      libgnashmedia_la-VideoDecoderFfmpeg.lo
  CXX      libgnashmedia_la-VideoConverterFfmpeg.lo
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
ffmpeg/VideoConverterFfmpeg.cpp:60:1: error: 'PixelFormat' does not name a
type
 PixelFormat
 ^
ffmpeg/VideoConverterFfmpeg.cpp: In constructor
'gnash::media::ffmpeg::VideoConverterFfmpeg::VideoConverterFfmpeg(gnash::media::ImgBuf::Type4CC,
gnash::media::ImgBuf::Type4CC)':
ffmpeg/VideoConverterFfmpeg.cpp:121:34: error: 'fourcc_to_ffmpeg' was not
declared in this scope
      if(fourcc_to_ffmpeg(_dst_fmt) == PIX_FMT_NONE) {
                                  ^
ffmpeg/VideoConverterFfmpeg.cpp:121:39: error: 'PIX_FMT_NONE' was not declared
in this scope
      if(fourcc_to_ffmpeg(_dst_fmt) == PIX_FMT_NONE) {
                                       ^
ffmpeg/VideoConverterFfmpeg.cpp: In member function 'virtual
std::unique_ptr<gnash::media::ImgBuf>
gnash::media::ffmpeg::VideoConverterFfmpeg::convert(const
gnash::media::ImgBuf&)':
ffmpeg/VideoConverterFfmpeg.cpp:141:5: error: 'PixelFormat' was not declared
in this scope
     PixelFormat dst_pixFmt = fourcc_to_ffmpeg(_dst_fmt);
     ^
In file included from /usr/include/boost/assert.hpp:54:0,
                 from /usr/include/boost/format/parsing.hpp:21,
                 from /usr/include/boost/format.hpp:50,
                 from ../libbase/log.h:31,
                 from ffmpeg/VideoConverterFfmpeg.cpp:27:
ffmpeg/VideoConverterFfmpeg.cpp:142:12: error: 'dst_pixFmt' was not declared
in this scope
     assert(dst_pixFmt != PIX_FMT_NONE);
            ^
ffmpeg/VideoConverterFfmpeg.cpp:142:26: error: 'PIX_FMT_NONE' was not declared
in this scope
     assert(dst_pixFmt != PIX_FMT_NONE);
                          ^
ffmpeg/VideoConverterFfmpeg.cpp:143:17: error: expected ';' before
'src_pixFmt'
     PixelFormat src_pixFmt = PIX_FMT_RGB24;
                 ^
ffmpeg/VideoConverterFfmpeg.cpp:150:13: error: 'src_pixFmt' was not declared
in this scope
             src_pixFmt, width, height, dst_pixFmt, SWS_BILINEAR, nullptr,
nullptr,
             ^
ffmpeg/VideoConverterFfmpeg.cpp:169:19: warning: 'int
avpicture_get_size(AVPixelFormat, int, int)' is deprecated (declared at
/usr/include/libavcodec/avcodec.h:4898) [-Wdeprecated-declarations]
     int bufsize = avpicture_get_size(dst_pixFmt, width, height);
                   ^
ffmpeg/VideoConverterFfmpeg.cpp:177:5: warning: 'int
avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:4883)
[-Wdeprecated-declarations]
     avpicture_fill(&dstpicture, dstbuffer, dst_pixFmt, width, height);
     ^
ffmpeg/VideoConverterFfmpeg.cpp:185:62: warning: 'AVPicture::data' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3668)
[-Wdeprecated-declarations]
     int rv = sws_scale(_swsContext->getContext(), srcpicture.data,
                                                              ^
ffmpeg/VideoConverterFfmpeg.cpp:185:62: warning: 'AVPicture::data' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3668)
[-Wdeprecated-declarations]
ffmpeg/VideoConverterFfmpeg.cpp:186:35: warning: 'AVPicture::linesize' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3670)
[-Wdeprecated-declarations]
                        srcpicture.linesize, 0, height, dstpicture.data,
                                   ^
ffmpeg/VideoConverterFfmpeg.cpp:186:35: warning: 'AVPicture::linesize' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3670)
[-Wdeprecated-declarations]
ffmpeg/VideoConverterFfmpeg.cpp:186:67: warning: 'AVPicture::data' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3668)
[-Wdeprecated-declarations]
                        srcpicture.linesize, 0, height, dstpicture.data,
                                                                   ^
ffmpeg/VideoConverterFfmpeg.cpp:186:67: warning: 'AVPicture::data' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3668)
[-Wdeprecated-declarations]
ffmpeg/VideoConverterFfmpeg.cpp:187:35: warning: 'AVPicture::linesize' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3670)
[-Wdeprecated-declarations]
                        dstpicture.linesize);
                                   ^
ffmpeg/VideoConverterFfmpeg.cpp:187:35: warning: 'AVPicture::linesize' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3670)
[-Wdeprecated-declarations]
ffmpeg/VideoConverterFfmpeg.cpp:195:26: warning: 'AVPicture::linesize' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3670)
[-Wdeprecated-declarations]
     std::copy(dstpicture.linesize, dstpicture.linesize+4,
ret->stride.begin()); 
                          ^
ffmpeg/VideoConverterFfmpeg.cpp:195:26: warning: 'AVPicture::linesize' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3670)
[-Wdeprecated-declarations]
ffmpeg/VideoConverterFfmpeg.cpp:195:47: warning: 'AVPicture::linesize' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3670)
[-Wdeprecated-declarations]
     std::copy(dstpicture.linesize, dstpicture.linesize+4,
ret->stride.begin()); 
                                               ^
ffmpeg/VideoConverterFfmpeg.cpp:195:47: warning: 'AVPicture::linesize' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3670)
[-Wdeprecated-declarations]
make[2]: *** [libgnashmedia_la-VideoConverterFfmpeg.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
ffmpeg/VideoDecoderFfmpeg.cpp:54:5: error: 'PixelFormat' does not name a type
     PixelFormat get_format(AVCodecContext* avctx, const PixelFormat* fmt);
     ^
ffmpeg/VideoDecoderFfmpeg.cpp: In member function 'void
gnash::media::ffmpeg::VideoDecoderFfmpeg::init(AVCodecID, int, int, uint8_t*,
int)':
ffmpeg/VideoDecoderFfmpeg.cpp:199:27: error: 'get_format' was not declared in
this scope
     ctx->get_format     = get_format;
                           ^
ffmpeg/VideoDecoderFfmpeg.cpp: In member function
'std::unique_ptr<gnash::image::GnashImage>
gnash::media::ffmpeg::VideoDecoderFfmpeg::frameToImage(AVCodecContext*, const
AVFrame&)':
ffmpeg/VideoDecoderFfmpeg.cpp:254:5: error: 'PixelFormat' was not declared in
this scope
     PixelFormat srcPixFmt = srcCtx->pix_fmt;
     ^
ffmpeg/VideoDecoderFfmpeg.cpp:263:17: error: expected ';' before 'pixFmt'
     PixelFormat pixFmt = PIX_FMT_RGB24;
                 ^
ffmpeg/VideoDecoderFfmpeg.cpp:287:43: error: 'srcPixFmt' was not declared in
this scope
             sws_getContext(width, height, srcPixFmt, width, height,
                                           ^
ffmpeg/VideoDecoderFfmpeg.cpp:288:17: error: 'pixFmt' was not declared in this
scope
                 pixFmt, SWS_BILINEAR, nullptr, nullptr, nullptr)
                 ^
ffmpeg/VideoDecoderFfmpeg.cpp:304:19: warning: 'int
avpicture_get_size(AVPixelFormat, int, int)' is deprecated (declared at
/usr/include/libavcodec/avcodec.h:4898) [-Wdeprecated-declarations]
     int bufsize = avpicture_get_size(pixFmt, width, height);
                   ^
ffmpeg/VideoDecoderFfmpeg.cpp:304:38: error: 'pixFmt' was not declared in this
scope
     int bufsize = avpicture_get_size(pixFmt, width, height);
                                      ^
ffmpeg/VideoDecoderFfmpeg.cpp:309:14: error: 'PIX_FMT_RGBA' was not declared
in this scope
         case PIX_FMT_RGBA:
              ^
ffmpeg/VideoDecoderFfmpeg.cpp:312:14: error: 'PIX_FMT_RGB24' was not declared
in this scope
         case PIX_FMT_RGB24:
              ^
ffmpeg/VideoDecoderFfmpeg.cpp:325:5: warning: 'int avpicture_fill(AVPicture*,
const uint8_t*, AVPixelFormat, int, int)' is deprecated (declared at
/usr/include/libavcodec/avcodec.h:4883) [-Wdeprecated-declarations]
     avpicture_fill(&picture, im->begin(), pixFmt, width, height);
     ^
ffmpeg/VideoDecoderFfmpeg.cpp:338:70: warning: 'AVPicture::data' is deprecated
(declared at /usr/include/libavcodec/avcodec.h:3668)
[-Wdeprecated-declarations]
             const_cast<int*>(srcFrame->linesize), 0, height, picture.data,
                                                                      ^
ffmpeg/VideoDecoderFfmpeg.cpp:338:70: warning: 'AVPicture::data' is deprecated
(declared at /usr/include/libavcodec/avcodec.h:3668)
[-Wdeprecated-declarations]
ffmpeg/VideoDecoderFfmpeg.cpp:339:21: warning: 'AVPicture::linesize' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3670)
[-Wdeprecated-declarations]
             picture.linesize);
                     ^
ffmpeg/VideoDecoderFfmpeg.cpp:339:21: warning: 'AVPicture::linesize' is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3670)
[-Wdeprecated-declarations]
ffmpeg/VideoDecoderFfmpeg.cpp: At global scope:
ffmpeg/VideoDecoderFfmpeg.cpp:502:1: error: 'PixelFormat' does not name a
type
 PixelFormat
 ^
ffmpeg/VideoDecoderFfmpeg.cpp:488:1: warning: 'void
gnash::media::ffmpeg::{anonymous}::reset_context(AVCodecContext*,
gnash::media::ffmpeg::VaapiContextFfmpeg*)' defined but not used
[-Wunused-function]
 reset_context(AVCodecContext* avctx, VaapiContextFfmpeg* vactx)
 ^
make[2]: *** [libgnashmedia_la-VideoDecoderFfmpeg.lo] Error 1





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47301>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]