Commit graph

11571 commits

Author SHA1 Message Date
Mathieu Arnold
8dcaabcd6e Add PY_FLAVOR to Python module dependencies.
Sponsored by:	Absolight
2018-05-22 13:15:13 +00:00
Steve Wills
51ed8593c4 multimedia/py-PySceneDetect: create port
PySceneDetect is a command-line application and a Python library for detecting
scene changes in videos, and automatically splitting the video into separate
clips.

WWW: https://pyscenedetect.readthedocs.io/en/latest/
2018-05-21 22:52:23 +00:00
Dmitry Marakasov
e34b05dfac - Fix license
- Whitespace fixes
- Update WWW
2018-05-21 09:34:11 +00:00
Sunpoet Po-Chuan Hsieh
41dfff1efd Update to 0.15
Changes:	https://github.com/SoCo/SoCo/releases
PR:		228375
Submitted by:	Conall O'Brien <conall@conall.net> (maintainer)
2018-05-21 02:35:47 +00:00
Mark Felder
9e22b14315 multimedia/plexmediaserver: Update to 1.13.0.5023
Changelog:	https://forums.plex.tv/discussion/comment/1665416#Comment_1665416
2018-05-20 16:16:55 +00:00
Thomas Zander
28d831f43c Update to upstream version 0.0.6; Add LICENSE tags 2018-05-19 16:33:53 +00:00
Tobias C. Berner
8d736d0bd8 Update multimedia/kdenlive to 18.04.1 2018-05-19 12:30:24 +00:00
Tobias C. Berner
aa23fab519 Update multimedia/mlt to 6.6.0
PR:		227842
Approved by:	avilla (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D15226
2018-05-19 10:32:30 +00:00
Tobias C. Berner
22eaac63bc multimedia/qt5-phonon4* readd/bump PORTREVISION
* Due to a bad sed /d call qt5-phonon4 ports lost their PORTREVISIONS, readd and bump them.

Reported by:	VVD (in IRC)
2018-05-19 06:26:01 +00:00
Tobias C. Berner
8298879770 Update KDE Frameworks to 5.46
Exp-run by:	antoine
PR:		228200
2018-05-18 16:57:06 +00:00
Raphael Kubo da Costa
70141f1a3a Update the Qt5 ports to 5.10.1.
The work was done by tcberner and myself, with thanks to antoine for the
exp-run.

Not a lot to report compared to other Qt5 updates:
* net/qt5-network is still broken with LibreSSL. I said this in a commit
  message ages ago but it bears repeating: upstream is open to adding support
  for LibreSSL, but someone needs to step up to maintain it upstream, otherwise
  things will continue to be broken all the time.
* www/qt5-webengine is a huge monster that is terrible to update, just like
  www/chromium itself is. We (kde@) have decided to keep using the 5.9 series
  for the time being, as it should be compatible with the rest of Qt anyway. It
  was updated to 5.9.5, the latest 5.9 release at the time of writing.

PR:		228213
2018-05-18 12:27:43 +00:00
Mark Felder
c04b78249c multimedia/plexmediaserver-plexpass: Update to 1.13.1.5063
Changelog:	https://forums.plex.tv/discussion/comment/1668974#Comment_1668974
2018-05-16 19:43:55 +00:00
Fernando Apesteguía
7fcb603e16 multimedia/handbrake: Add ONLY_FOR_ARCHS_REASON
Reported by:	mat
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D15063
2018-05-16 17:19:18 +00:00
Lars Engels
f4d968e513 multimedia/motion:
- Add WEBCAMD option and enable by default
- Bump PORTREVISION

From the initiating PR:

The multimedia/pwcbsd port contains an kernel module that appears to no longer
work.  The multimedia/pwcbsd port distfile has not been updated since 2014 so
it is very unlikely to work.  The multimedia/pwcbsd port was long ago replaced
by the multimedia/webcamd port.

The current multimedia/motion port has a PWCBSD option.  This sets
--with-pwcbsd in the configure step, create a build depend on v4l_compat and
creates a run depend on multimedia/pwcbsd, which is then built and installed
but not used.  The motion application reads from /dev/video* which is now
handled by multimedia/webcamd.

The patch provided adds an option named WEBCAMD to an existing radio option
that contains the PWCBSD option.  The WEBCAMD option sets --with-pwcbsd in the
configure step, creates the build depend on v4l_compat but does not create a
run depend on pwcbsd.  It could create a run depend on multimedia/webcamd but I
didn't add that.

The only affect of --with-pwcbsd in the configure step of the downstream port
is to suppress disabling video4linux support and link with v4l_compat library.
At some point the downstream should be advised to change the option names in
the configure.ac file to reflect the demise of pwcbsd.

I left the PWCBSD option in place and unchanged.  It may serve no useful
purpose so it could be removed.

PR:		228102
Submitted by:	Curtis Villamizar <curtis@ipv6.occnc.com>
MFH:		yes
2018-05-15 14:25:39 +00:00
Dirk Meyer
8925f7393a - fix build for FreeBSD 12.0 2018-05-14 15:04:23 +00:00
Yuri Victorovich
f73c2e4671 multimedia/obs-studio: Update 21.1.1 -> 21.1.2
Reported by:	portscout
2018-05-14 05:27:09 +00:00
Dmitry Marakasov
f4d69666a1 - Update WWW
Approved by:	portmgr blanket
2018-05-13 09:34:04 +00:00
Thomas Zander
16eb5d5e99 Update to upstream version 23.0.0
Details:
- Upstream release 23.0.0 includes runtime fixes indcluding
  fixes for crashes, see
  https://gitlab.com/mbunkus/mkvtoolnix/blob/release-23.0.0/NEWS.md

MFH:		2018Q2
2018-05-12 18:01:25 +00:00
Kurt Jaeger
c5eb59b55a New port: multimedia/aravis
Aravis is a glib/gobject based viewer for video acquisition using
Genicam cameras.

It currently implements the gigabit ethernet and USB3 protocols
used by industrial cameras. It also provides a basic ethernet camera
simulator and a simple video viewer.

WWW: https://github.com/AravisProject/aravis

PR:		215908
Submitted by:	rozhuk.im@gmail.com
2018-05-12 10:04:38 +00:00
Sunpoet Po-Chuan Hsieh
b066c39a2e Update to 18.05
Changes:	https://mediaarea.net/MediaInfo/ChangeLog
		https://github.com/MediaArea/MediaInfo/blob/master/History_CLI.txt
2018-05-11 16:53:06 +00:00
Sunpoet Po-Chuan Hsieh
c4264fcd9c Update to 18.05
Changes:	https://github.com/MediaArea/MediaInfoLib/blob/master/History_DLL.txt
		https://github.com/MediaArea/MediaInfoLib/blob/master/Changes.txt
2018-05-11 16:53:01 +00:00
Sunpoet Po-Chuan Hsieh
8484e384fa Update to 18.05 (0.4.37)
Changes:	https://github.com/MediaArea/ZenLib/blob/master/History.txt
2018-05-11 16:52:56 +00:00
Tobias C. Berner
74fcc5aebb Update KDE Applications to 18.04.1 2018-05-11 06:09:39 +00:00
Jan Beich
e1039010f1 multimedia/mpc-qt: update to 18.03
Changes:	https://github.com/cmdrkotori/mpc-qt/compare/78c4816...v18.03
2018-05-11 01:50:28 +00:00
Carlos J. Puga Medina
c5724b058f multimedia/mpv: Update to 0.28.2
Changelog: https://github.com/mpv-player/mpv/releases/tag/v0.28.2

PR:		227994
Submitted by:	Greg V <greg@unrelenting.technology>
2018-05-10 07:34:24 +00:00
Steve Wills
142143e5a7 Bump PORTREVISION on more opencv consumers due to opencv update 2018-05-09 20:27:51 +00:00
Steve Wills
f11ac71735 Bump PORTREVISION on opencv consumers due to opencv update 2018-05-09 01:44:50 +00:00
Steve Wills
532105a93c graphics/opencv: Update to 3.4.1
PR:		210505
Submitted by:	rozhuk.im@gmail.com (partially, further work was done)
Exp-run by:	antoine
2018-05-09 01:10:11 +00:00
Jan Beich
67a9073255 Drop FreeBSD 10.3 support
Reviewed by:	yuri (SoPlex), sunpoet (nghttp2), cpm (chromium), brooks (llvm*)
Approved by:	portmgr (rene)
Differential Revision:	https://reviews.freebsd.org/D15238
2018-05-07 22:29:46 +00:00
Alexey Dokuchaev
a6fd5a21c8 Remove redundant PKGMESSAGE assignment, which is set appropriately
by the b.p.m when `pkg-message' appears on the SUB_FILES list.
2018-05-05 17:13:42 +00:00
Jan Beich
ee06012058 multimedia/libvpx: chase HTTP redirect
Reported by:	Repology
2018-05-05 00:03:05 +00:00
Sunpoet Po-Chuan Hsieh
0c1911af80 Update to 3.2.5
Changes:	https://github.com/ruby-gnome2/ruby-gnome2/blob/master/NEWS
2018-05-04 18:08:03 +00:00
Sunpoet Po-Chuan Hsieh
674e8817ff Update to 3.2.5
Changes:	https://github.com/ruby-gnome2/ruby-gnome2/blob/master/NEWS
2018-05-04 18:07:43 +00:00
Jan Beich
b5c7892a23 multimedia/simplescreenrecorder: unbreak with ffmpeg 4.0
src/AV/Output/AudioEncoder.cpp:61:51: error: use of undeclared identifier 'CODEC_CAP_VARIABLE_FRAME_SIZE'
        return (GetCodecContext()->codec->capabilities & CODEC_CAP_VARIABLE_FRAME_SIZE)? DEFAULT_FRAME_SAMPLES : GetCodecContext()->frame_size;
                                                         ^
src/AV/Output/AudioEncoder.cpp:125:28: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
                        codec_context->flags |= CODEC_FLAG_QSCALE;
                                                ^

PR:		227726
Reported by:	antoine (via exp-run)
2018-05-04 11:41:28 +00:00
Jan Beich
b312b19581 multimedia/miro: unbreak with ffmpeg 4.0
linux/miro-segmenter.c:103:48: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
                output_codec_context->flags |= CODEC_FLAG_GLOBAL_HEADER;
                                               ^
linux/miro-segmenter.c:270:46: error: no member named 'pts' in 'struct AVStream'
            segment_time = (double)video_st->pts.val * video_st->time_base.num / video_st->time_base.den;
                                   ~~~~~~~~  ^
linux/miro-segmenter.c:273:46: error: no member named 'pts' in 'struct AVStream'
            segment_time = (double)audio_st->pts.val * audio_st->time_base.num / audio_st->time_base.den;
                                   ~~~~~~~~  ^

PR:		227726
Reported by:	antoine (via exp-run)
2018-05-04 11:40:30 +00:00
Jan Beich
1bad291d8b multimedia/ccextractor: unbreak with ffmpeg 4.0
src/lib_ccx/ffmpeg_intgr.c:5:10: fatal error: 'libavfilter/avfiltergraph.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PR:		227726
Reported by:	antoine (via exp-run)
2018-05-04 11:40:14 +00:00
Jan Beich
eff5b4acdc multimedia/bino: unbreak with ffmpeg 4.0
media_object.cpp:908:60: error: use of undeclared identifier 'CODEC_CAP_DR1'
            if (lowres || (codec && (codec->capabilities & CODEC_CAP_DR1)))
                                                           ^
media_object.cpp:909:37: error: use of undeclared identifier 'CODEC_FLAG_EMU_EDGE'
                codec_ctx->flags |= CODEC_FLAG_EMU_EDGE;
                                    ^

PR:		227726
Reported by:	antoine (via exp-run)
2018-05-04 11:39:58 +00:00
Stefan Eßer
d36b04be6b Fix port by updating to the latest upstream version.
Set default Qt version to QT5.

Approved by:	antoine (implicit)
2018-05-04 07:55:33 +00:00
Jan Beich
44d5dd334e multimedia/ffmpeg: drop unused file after r468844 2018-05-04 06:46:42 +00:00
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
Jan Beich
0665a3d4b9 multimedia/dvdstyler: unbreak with ffmpeg 4.0
mediaenc_ffmpeg.cpp:215:18: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
            c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                        ^

PR:		227726
Reported by:	antoine (via exp-run)
2018-05-03 18:38:06 +00:00
Kirill Ponomarev
6bae6b1779 Add www/quark to CONFLICTS_INSTALL, add WWW: line.
PR:		227933
Submitted by:	0mp@FreeBSD.org
2018-05-03 17:42:45 +00:00
Jan Beich
b9351d7eb5 multimedia/libquicktime: unbreak with ffmpeg 4.0
audio.c:549:37: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
    codec->pkt.size = packet_size + FF_INPUT_BUFFER_PADDING_SIZE;
                                    ^

PR:		227726
Reported by:	antoine (via exp-run)
Obtained from:	Gentoo
2018-05-03 16:34:19 +00:00
Jan Beich
cd027ed1db multimedia/lives: unbreak with ffmpeg 4.0
flv_decoder.c:468:44: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
  priv->ctx->extradata = av_mallocz(size + FF_INPUT_BUFFER_PADDING_SIZE);
                                           ^

PR:		227726
Reported by:	antoine (via exp-run)
Obtained from:	upstream (LiVES 2.8.8)
2018-05-03 16:10:21 +00:00
Jan Beich
01bda8f51c multimedia/gnome-mpv: update to 0.14
Changes:	https://github.com/gnome-mpv/gnome-mpv/releases/tag/v0.14
Changes:	https://github.com/gnome-mpv/gnome-mpv/compare/v0.13...v0.14
Reported by:	Repology
2018-05-03 01:30:12 +00:00
Jan Beich
b9a570764b multimedia/webcamoid: actual commits for r468753 2018-05-02 18:39:57 +00:00
Jan Beich
a7e80be8ca multimedia/zoneminder: AVFMT_RAWPICTURE is part of libavformat 2018-05-02 18:34:15 +00:00
Jan Beich
68e8abc92d multimedia/zoneminder{,-h264}: unbreak with ffmpeg 4.0
src/zm_mpeg.cpp:243:19: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
      c->flags |= CODEC_FLAG_QSCALE;
                  ^
src/zm_mpeg.cpp:268:19: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
      c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                  ^
src/zm_mpeg.cpp:428:22: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
  if ( !(of->flags & AVFMT_RAWPICTURE) )
                     ^
src/zm_mpeg.cpp:675:20: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
  if ( of->flags & AVFMT_RAWPICTURE )
                   ^
src/zm_sdp.cpp:497:38: error: use of undeclared
      identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
                     packet_size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
                                     ^
src/zm_videostore.cpp:116:31: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
    video_st->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
                              ^
src/zm_videostore.cpp:149:35: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
        audio_st->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
                                  ^
src/zm_videostore.cpp:286:74: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
  if (video_st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (fmt->flags & AVFMT_RAWPICTURE)) {
                                                                         ^

PR:		227726
Reported by:	antoine (via exp-run)
2018-05-02 18:30:13 +00:00
Jan Beich
f3f8ee493e multimedia/qmmp-qt5: unbreak with ffmpeg 4.0
src/plugins/Input/ffmpeg/decoder_ffmpeg.h:64:43: error: use of undeclared identifier 'FF_INPUT_BUFFER_PADDING_SIZE'
    uchar m_input_buf[INPUT_BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE];
                                          ^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:37:17: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
    return (int)d->input()->read((char*)buf, size);
                ^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:49:16: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
        return d->input()->size();
               ^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:54:24: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
        absolute_pos = d->input()->pos() + offset;
                       ^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:57:24: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
        absolute_pos = d->input()->size() - offset;
                       ^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:62:43: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
    if(absolute_pos < 0 || absolute_pos > d->input()->size())
                                          ^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:64:12: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
    return d->input()->seek(absolute_pos);
           ^
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:131:19: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
    pd.buf_size = input()->peek((char*)buf, sizeof(buf) - AVPROBE_PADDING_SIZE);
                  ^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:153:27: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
    m_stream->seekable = !input()->isSequential();
                          ^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:166:9: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
    if (input()->isSequential())
        ^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:204:9: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
        addMetaData(metaData);
        ^~~~~~~~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:209:5: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
    setReplayGainInfo(rg.replayGainInfo());
    ^~~~~~~~~~~~~~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:271:19: error: cannot initialize object parameter of type 'Decoder' with an expression of type 'DecoderFFmpeg'
    m_totalTime = input()->isSequential() ? 0 : ic->duration * 1000 / AV_TIME_BASE;
                  ^~~~~
src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp:301:5: error: no matching member function for call to 'configure'
    configure(c->sample_rate, m_channels, format);
    ^~~~~~~~~
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:177:10: note: candidate function not viable: no known conversion from 'DecoderFFmpeg' to 'Decoder' for object argument
    void configure(quint32 srate, int channels, Qmmp::AudioFormat f = Qmmp::PCM_S16LE);
         ^
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:170:10: note: candidate function not viable: no known conversion from 'DecoderFFmpeg' to 'Decoder' for object argument
    void configure(quint32 srate, const ChannelMap &map, Qmmp::AudioFormat f = Qmmp::PCM_S16LE);
         ^
src/plugins/Input/ffmpeg/../../../qmmp/decoder.h:182:10: note: candidate function not viable: requires single argument 'p', but 3 arguments were provided
    void configure(const AudioParameters &p);
         ^

PR:		227726
Reported by:	antoine (via exp-run)
2018-05-02 16:59:34 +00:00
Jan Beich
d20464057f multimedia/tvheadend: unbreak with ffmpeg 4.0
src/muxer/muxer_libav.c:177:17: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
    c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                ^
src/plumbing/transcoding.c:22:10: fatal error: 'libavfilter/avfiltergraph.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/plumbing/transcoding.c:576:29: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
    octx->flags          |= CODEC_FLAG_GLOBAL_HEADER;
                            ^
src/plumbing/transcoding.c:621:22: error: use of undeclared identifier 'CODEC_FLAG_BITEXACT'
      octx->flags |= CODEC_FLAG_BITEXACT;
                     ^
src/plumbing/transcoding.c:632:24: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
        octx->flags |= CODEC_FLAG_QSCALE;
                       ^
src/plumbing/transcoding.c:635:24: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
        octx->flags |= CODEC_FLAG_QSCALE;
                       ^
src/plumbing/transcoding.c:1291:30: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
      octx->flags         |= CODEC_FLAG_GLOBAL_HEADER;
                             ^
src/plumbing/transcoding.c:1296:33: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
        octx->flags          |= CODEC_FLAG_QSCALE;
                                ^
src/plumbing/transcoding.c:1342:30: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
      octx->flags         |= CODEC_FLAG_GLOBAL_HEADER;
                             ^
src/plumbing/transcoding.c:1373:30: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
      octx->flags         |= CODEC_FLAG_GLOBAL_HEADER;
                             ^
src/plumbing/transcoding.c:2179:29: error: use of undeclared identifier 'CODEC_CAP_EXPERIMENTAL'
    if (((p->capabilities & CODEC_CAP_EXPERIMENTAL) && !experimental) ||
                            ^
src/plumbing/transcoding.c:2194:33: error: use of undeclared identifier 'CODEC_CAP_EXPERIMENTAL'
             (p->capabilities & CODEC_CAP_EXPERIMENTAL) ?
                                ^

PR:		227726
Reported by:	antoine (via exp-run)
Obtained from:	upstream
2018-05-02 15:47:51 +00:00