1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/multimedia/vdr-plugin-markad
Jan Beich 47f3eeeb85 multimedia/vdr-plugin-markad: unbreak with ffmpeg 4.0
decoder.cpp:175:23: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
        video_codecid=AV_CODEC_ID_MPEG2VIDEO_XVMC;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                      AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO' declared here
    AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
    ^
decoder.cpp:179:43: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
    if ((!video_codec) && (video_codecid==AV_CODEC_ID_MPEG2VIDEO_XVMC))
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO' declared here
    AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
    ^
decoder.cpp:191:45: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED'
            if (video_codec->capabilities & CODEC_CAP_TRUNCATED)
                                            ^
decoder.cpp:192:39: error: use of undeclared identifier 'CODEC_FLAG_TRUNCATED'
                video_context->flags|=CODEC_FLAG_TRUNCATED; // we do not send complete frames
                                      ^
decoder.cpp:194:36: error: use of undeclared identifier 'CODEC_FLAG2_FAST'
            video_context->flags2|=CODEC_FLAG2_FAST; // really?
                                   ^
decoder.cpp:201:40: error: use of undeclared identifier 'CODEC_FLAG2_CHUNKS'
                video_context->flags2|=CODEC_FLAG2_CHUNKS; // needed for H264!
                                       ^
decoder.cpp:214:46: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
            if ((ret < 0) && (video_codecid==AV_CODEC_ID_MPEG2VIDEO_XVMC))
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                             AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO' declared here
    AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
    ^
decoder.cpp:224:43: error: no member named 'codec_name' in 'AVCodecContext'; did you mean 'coded_frame'?
                    memset(video_context->codec_name,0,sizeof(video_context->codec_name));
                                          ^~~~~~~~~~
                                          coded_frame
/usr/local/include/libavcodec/avcodec.h:2760:35: note: 'coded_frame' declared here
    attribute_deprecated AVFrame *coded_frame;
                                  ^
decoder.cpp:224:78: error: no member named 'codec_name' in 'AVCodecContext'
                    memset(video_context->codec_name,0,sizeof(video_context->codec_name));
                                                              ~~~~~~~~~~~~~  ^
decoder.cpp:244:22: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
                case AV_CODEC_ID_MPEG2VIDEO_XVMC:
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                     AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO' declared here
    AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
    ^
decoder.cpp:247:22: error: duplicate case value 'AV_CODEC_ID_MPEG2VIDEO'
                case AV_CODEC_ID_MPEG2VIDEO:
                     ^
decoder.cpp:244:22: note: previous case defined here
                case AV_CODEC_ID_MPEG2VIDEO_XVMC:
                     ^
decoder.cpp:305:14: error: use of undeclared identifier 'AV_CODEC_ID_MPEG2VIDEO_XVMC'; did you mean 'AV_CODEC_ID_MPEG2VIDEO'?
        case AV_CODEC_ID_MPEG2VIDEO_XVMC:
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
             AV_CODEC_ID_MPEG2VIDEO
/usr/local/include/libavcodec/avcodec.h:220:5: note: 'AV_CODEC_ID_MPEG2VIDEO' declared here
    AV_CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
    ^
decoder.cpp:308:14: error: duplicate case value 'AV_CODEC_ID_MPEG2VIDEO'
        case AV_CODEC_ID_MPEG2VIDEO:
             ^
decoder.cpp:305:14: note: previous case defined here
        case AV_CODEC_ID_MPEG2VIDEO_XVMC:
             ^

PR:		227726
Reported by:	antoine (via exp-run)
2018-05-03 19:50:40 +00:00
..
files multimedia/vdr-plugin-markad: unbreak with ffmpeg 4.0 2018-05-03 19:50:40 +00:00
distinfo
Makefile multimedia/vdr-plugin-markad: unbreak with ffmpeg 4.0 2018-05-03 19:50:40 +00:00
pkg-descr
pkg-plist