Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==> Starting build()...
- Setting top to : /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0
- Setting out to : /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/build
- Checking for waf version in 1.8.4-1.9.0 : ok
- Checking for program 'cc' : /usr/bin/cc
- Checking for program 'pkg-config' : /usr/bin/pkg-config
- Checking for program 'ar' : /usr/bin/ar
- Checking for program 'perl' : /usr/bin/perl
- Checking for program 'rst2html' : /usr/bin/rst2html
- Checking for program 'rst2man' : /usr/bin/rst2man
- Checking for program 'rst2pdf' : not found
- Checking for program 'windres' : not found
- Checking for 'gcc' (C compiler) : /usr/bin/cc
- Detected target OS: : os-linux
- Checking for compiler flags -Werror=implicit-function-declaration : yes
- Checking for compiler flags -Wno-error=deprecated-declarations : yes
- Checking for compiler flags -Wno-error=unused-function : yes
- Checking for compiler flags -Wempty-body : yes
- Checking for compiler flags -Wdisabled-optimization : yes
- Checking for compiler flags -Wstrict-prototypes : yes
- Checking for compiler flags -Wno-format-zero-length : yes
- Checking for compiler flags -Werror=format-security : yes
- Checking for compiler flags -Wno-redundant-decls : yes
- Checking for GPL3 license : disabled
- Checking for mpv CLI player : yes
- Checking for shared library : yes
- Checking for static library : disabled
- Checking for static build : disabled
- Checking for whether to include binary compile time : yes
- Checking for whether to optimize : yes
- Checking for whether to compile-in debugging information : yes
- Checking for manpage generation : yes
- Checking for html manual generation : disabled
- Checking for pdf manual generation : disabled
- Checking for dynamic loader : yes
- Checking for dlopen : yes
- Checking for compilation of default filters for vf_dlopen : disabled
- Checking for zsh completion : yes
- Checking for inline assembly (currently without effect) : yes
- Checking for test suite (using cmocka) : disabled
- Checking for generate a clang compilation database : disabled
- Checking for compiler support for noexecstack : yes
- Checking for linker support for --nxcompat --no-seh --dynamicbase : no
- Checking for -lm : yes
- Checking for MinGW : os-win32 not found
- Checking for POSIX environment : yes
- Checking for development environment : yes
- Checking for win32 : not found any of os-win32, os-cygwin
- Checking for internal pthread wrapper for win32 (Vista+) : win32 not found
- Checking for POSIX threads : yes
- Checking for stdatomic.h : yes
- Checking for compiler support for __atomic built-ins : stdatomic found
- Checking for compiler support for __sync built-ins : stdatomic found
- Checking for compiler support for usable thread synchronization built-ins : yes
- Checking for C11 TLS support : yes
- Checking for linking with -lrt : yes
- Checking for iconv : yes
- Checking for w32/dos paths : not found any of os-win32, os-cygwin
- Checking for termios : yes
- Checking for shm : yes
- Checking for nanosleep : yes
- Checking for POSIX spawnp()/kill() : yes
- Checking for posix_spawnp() or MinGW : yes
- Checking for glob() : yes
- Checking for glob() win32 replacement : not found any of os-win32, os-cygwin
- Checking for fchmod() : yes
- Checking for vt.h : yes
- Checking for gbm.h : yes
- Checking for GLIBC API for setting thread name : yes
- Checking for OSX API for setting thread name : glibc-thread-name found
- Checking for BSD API for setting thread name : glibc-thread-name found
- Checking for NetBSD API for setting thread name : glibc-thread-name found
- Checking for BSD's fstatfs() : no
- Checking for Linux's fstatfs() : yes
- Checking for Samba support : yes
- Checking for Lua : yes (version found: 52arch)
- Checking for SSA/ASS support : yes
- Checking for libass OSD support : yes
- Checking for dummy OSD support : libass-osd found
- Checking for zlib : yes
- Checking for Encoding : yes
- Checking for Bluray support : yes
- Checking for dvdread support : yes
- Checking for dvdnav support : yes
- Checking for cdda support (libcdio) : yes
- Checking for ENCA support : yes
- Checking for libguess support : no ('libguess >= 1.0' not found)
- Checking for uchardet support : yes
- Checking for librubberband support : yes
- Checking for LCMS2 support : yes
- Checking for VapourSynth filter bridge (Python) : no ('vapoursynth >= 24 vapoursynth-script >= 23' not found)
- Checking for VapourSynth filter bridge (Lazy Lua) : no ('vapoursynth >= 24' not found)
- Checking for VapourSynth filter bridge (core) : not found any of vapoursynth-lazy, vapoursynth
- Checking for libarchive wrapper for reading zip files and more : disabled
- Checking for SDL2 : disabled
- Checking for SDL (1.x) : disabled
- Checking for OSS (implementation from opensound.com) : no
- Checking for OSS (platform-specific OSS implementation) : yes
- Checking for OSS (emulation on top of SunAudio) : oss-audio-native found
- Checking for OSS audio output : yes
- Checking for RSound audio output : no
- Checking for sndio audio input/output : disabled
- Checking for PulseAudio audio output : yes
- Checking for JACK audio output : yes
- Checking for OpenAL audio output : disabled
- Checking for OpenSL ES audio output : no
- Checking for ALSA audio output : yes
- Checking for CoreAudio audio output : no
- Checking for WASAPI audio output : win32 not found
- Checking for Cocoa : no
- Checking for DRM : yes
- Checking for GBM : yes
- Checking for Wayland : yes
- Checking for X11 : yes
- Checking for Xss screensaver extensions : yes
- Checking for X extensions : yes
- Checking for Xv video output : yes
- Checking for Xinerama : yes
- Checking for Xrandr : yes
- Checking for OpenGL Cocoa Backend : cocoa not found
- Checking for OpenGL X11 Backend : yes
- Checking for OpenGL X11 EGL Backend : yes
- Checking for OpenGL DRM EGL Backend : yes
- Checking for OpenGL Wayland Backend : yes
- Checking for OpenGL Win32 Backend : win32 not found
- Checking for OpenGL/DirectX Interop Backend : gl-win32 not found
- Checking for OpenGL Win32 ANGLE Backend : not found any of os-win32, os-cygwin
- Checking for VDPAU acceleration : yes
- Checking for VDPAU with OpenGL/X11 : yes
- Checking for VAAPI acceleration : yes
- Checking for VAAPI (X11 support) : yes
- Checking for VAAPI (Wayland support) : yes
- Checking for VAAPI (DRM/EGL support) : yes
- Checking for VAAPI GLX : yes
- Checking for VAAPI EGL on X11 : yes
- Checking for VAAPI EGL : yes
- Checking for CACA : yes
- Checking for JPEG support : yes
- Checking for Direct3D support : win32 not found
- Checking for Android support : no
- Checking for Raspberry Pi support : no
- Checking for Desktop standard OpengGL support : yes
- Checking for Android OpenGL ES support : android not found
- Checking for Any OpenGL (ES) support : yes
- Checking for OpenGL without platform-specific code (e.g. for libmpv) : yes
- Checking for OpenGL video outputs : yes
- Checking for EGL helper functions : yes
- Checking for libav/ffmpeg : yes
- Checking for libswresample : yes
- Checking for libavresample : libswresample found
- Checking for usable resampler found : yes
- Checking for libavfilter : yes
- Checking for libavdevice : yes
- Checking for libavcodec avcodec_enum_to_chroma_pos API : yes
- Checking for libavutil AVFrame metadata : yes
- Checking for libavutil AVFrame skip samples metadata : yes
- Checking for libavutil AV_PIX_FMT_MMAL : yes
- Checking for libavtuil av_version_info() : yes
- Checking for libavutil new pixdesc fields : yes
- Checking for libavcodec 64 bit AVPacket.duration : yes
- Checking for libavcodec AVSubtitleRect AVPicture removal : yes
- Checking for libavcodec avcodec_profile_name() : yes
- Checking for libavcodec decode/encode API : yes
- Checking for libavcodec AVCodecParameters API : yes
- Checking for libavcodec VAAPI hwaccel : yes
- Checking for libavcodec videotoolbox hwaccel : no
- Checking for Videotoolbox with OpenGL : videotoolbox-hwaccel, gl-cocoa not found
- Checking for libavcodec VDPAU hwaccel : yes
- Checking for libavcodec DXVA2 hwaccel : win32 not found
- Checking for libavcodec D3D11VA hwaccel : win32 not found
- Checking for Direct3D hwaccel : not found any of dxva2-hwaccel, d3d11va-hwaccel
- Checking for GCC SSE4 intrinsics for GPU memcpy : yes
- Checking for TV interface : yes
- Checking for videoio.h : no
- Checking for videodev2.h : yes
- Checking for Video4Linux2 TV interface : yes
- Checking for libv4l2 support : yes
- Checking for audio input support : yes
- Checking for DVB input module : yes
- Checking for w32 executable : not found any of os-win32, os-cygwin
- Checking for Apple Remote support : cocoa not found
- Writing configuration header: : config.h
- 'configure' finished successfully (10.535s)
- Waf: Entering directory `/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/build'
- [ 1/473] Compiling version.sh
- [ 14/473] Compiling audio/audio.c
- [ 15/473] Compiling audio/audio_buffer.c
- [ 16/473] Compiling audio/chmap.c
- [ 17/473] Compiling audio/chmap_sel.c
- [ 18/473] Compiling audio/fmt-conversion.c
- [ 19/473] Compiling audio/format.c
- [ 20/473] Compiling audio/mixer.c
- [ 21/473] Compiling audio/decode/ad_lavc.c
- [ 22/473] Compiling audio/decode/ad_spdif.c
- ../audio/decode/ad_lavc.c: In function ‘init’:
- ../audio/decode/ad_lavc.c:102:5: warning: ‘refcounted_frames’ is deprecated [-Wdeprecated-declarations]
- lavc_context->refcounted_frames = 1;
- ^~~~~~~~~~~~
- In file included from ../audio/decode/ad_lavc.c:24:
- /usr/include/libavcodec/avcodec.h:2344:9: note: declared here
- int refcounted_frames;
- ^~~~~~~~~~~~~~~~~
- ../audio/decode/ad_lavc.c: In function ‘decode_packet’:
- ../audio/decode/ad_lavc.c:231:5: warning: ‘pkt_pts’ is deprecated [-Wdeprecated-declarations]
- double out_pts = mp_pts_from_av(priv->avframe->pkt_pts, &priv->codec_timebase);
- ^~~~~~
- In file included from /usr/include/libavcodec/avcodec.h:38,
- from ../audio/decode/ad_lavc.c:24:
- /usr/include/libavutil/frame.h:319:13: note: declared here
- int64_t pkt_pts;
- ^~~~~~~
- [ 23/473] Compiling audio/decode/dec_audio.c
- ../audio/decode/ad_spdif.c: In function ‘determine_codec_profile’:
- ../audio/decode/ad_spdif.c:120:5: warning: ‘avcodec_decode_audio4’ is deprecated [-Wdeprecated-declarations]
- if (avcodec_decode_audio4(ctx, frame, &got_frame, pkt) < 1 || !got_frame)
- ^~
- In file included from /usr/include/libavformat/avformat.h:319,
- from ../audio/decode/ad_spdif.c:23:
- /usr/include/libavcodec/avcodec.h:4706:5: note: declared here
- int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
- ^~~~~~~~~~~~~~~~~~~~~
- [ 24/473] Compiling audio/filter/af.c
- [ 25/473] Compiling audio/filter/af_channels.c
- [ 26/473] Compiling audio/filter/af_delay.c
- [ 27/473] Compiling audio/filter/af_drc.c
- [ 28/473] Compiling audio/filter/af_equalizer.c
- [ 29/473] Compiling audio/filter/af_format.c
- [ 30/473] Compiling audio/filter/af_lavcac3enc.c
- [ 31/473] Compiling audio/filter/af_lavfi.c
- ../audio/filter/af_lavcac3enc.c: In function ‘filter_out’:
- ../audio/filter/af_lavcac3enc.c:228:5: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
- int lavc_ret = avcodec_encode_audio2(s->lavc_actx, &pkt, frame, &ok);
- ^~~
- In file included from ../audio/filter/af_lavcac3enc.c:28:
- /usr/include/libavcodec/avcodec.h:5347:5: note: declared here
- int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
- ^~~~~~~~~~~~~~~~~~~~~
- [ 32/473] Compiling audio/filter/af_lavrresample.c
- ../audio/filter/af_lavfi.c: In function ‘get_metadata_from_av_frame’:
- ../audio/filter/af_lavfi.c:253:5: warning: ‘av_frame_get_metadata’ is deprecated [-Wdeprecated-declarations]
- mp_tags_copy_from_av_dictionary(p->metadata, av_frame_get_metadata(frame));
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/libavfilter/avfilter.h:44,
- from ../audio/filter/af_lavfi.c:32:
- /usr/include/libavutil/frame.h:629:15: note: declared here
- AVDictionary *av_frame_get_metadata (const AVFrame *frame);
- ^~~~~~~~~~~~~~~~~~~~~
- [ 33/473] Compiling audio/filter/af_pan.c
- [ 34/473] Compiling audio/filter/af_rubberband.c
- [ 35/473] Compiling audio/filter/af_scaletempo.c
- [ 36/473] Compiling audio/filter/af_volume.c
- [ 37/473] Compiling audio/filter/tools.c
- [ 38/473] Compiling audio/out/ao.c
- [ 39/473] Compiling audio/out/ao_alsa.c
- [ 40/473] Compiling audio/out/ao_jack.c
- [ 41/473] Compiling audio/out/ao_lavc.c
- ../audio/out/ao_lavc.c: In function ‘init’:
- ../audio/out/ao_lavc.c:121:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->stream->codec->time_base.num = 1;
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:122:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->stream->codec->time_base.den = ao->samplerate;
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:124:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->stream->codec->sample_rate = ao->samplerate;
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:131:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->stream->codec->channels = ao->channels.num;
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:132:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->stream->codec->channel_layout = mp_chmap_to_lavc(&ao->channels);
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:134:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->stream->codec->sample_fmt = AV_SAMPLE_FMT_NONE;
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:139:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->stream->codec->sample_fmt = af_to_avformat(ao->format);
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:140:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->stream->codec->bits_per_raw_sample = ac->sample_size * 8;
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:146:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- if (ac->stream->codec->frame_size <= 1)
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:147:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->pcmhack = av_get_bits_per_sample(ac->stream->codec->codec_id) / 8;
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:154:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->aframesize = ac->stream->codec->frame_size;
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:158:27: error: ‘FF_MIN_BUFFER_SIZE’ undeclared (first use in this function); did you mean ‘AVUTIL_BUFFER_H’?
- if (ac->buffer_size < FF_MIN_BUFFER_SIZE)
- ^~~~~~~~~~~~~~~~~~
- AVUTIL_BUFFER_H
- ../audio/out/ao_lavc.c:158:27: note: each undeclared identifier is reported only once for each function it appears in
- ../audio/out/ao_lavc.c: In function ‘encode’:
- ../audio/out/ao_lavc.c:255:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- frame->pts = floor(apts * ac->stream->codec->time_base.den / ac->stream->codec->time_base.num + 0.5);
- ^~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:255:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- frame->pts = floor(apts * ac->stream->codec->time_base.den / ac->stream->codec->time_base.num + 0.5);
- ^~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:258:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- frame->pts = floor(realapts * ac->stream->codec->time_base.den / ac->stream->codec->time_base.num + 0.5);
- ^~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:258:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- frame->pts = floor(realapts * ac->stream->codec->time_base.den / ac->stream->codec->time_base.num + 0.5);
- ^~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:261:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- int64_t frame_pts = av_rescale_q(frame->pts, ac->stream->codec->time_base, ac->worst_time_base);
- ^~~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:268:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- frame->pts = av_rescale_q(frame_pts, ac->worst_time_base, ac->stream->codec->time_base);
- ^~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:272:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- frame->quality = ac->stream->codec->global_quality;
- ^~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:273:9: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
- status = avcodec_encode_audio2(ac->stream->codec, &packet, frame, &gotpacket);
- ^~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:26,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavcodec/avcodec.h:5347:5: note: declared here
- int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
- ^~~~~~~~~~~~~~~~~~~~~
- ../audio/out/ao_lavc.c:273:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- status = avcodec_encode_audio2(ac->stream->codec, &packet, frame, &gotpacket);
- ^~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:284:9: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
- status = avcodec_encode_audio2(ac->stream->codec, &packet, NULL, &gotpacket);
- ^~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:26,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavcodec/avcodec.h:5347:5: note: declared here
- int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
- ^~~~~~~~~~~~~~~~~~~~~
- ../audio/out/ao_lavc.c:284:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- status = avcodec_encode_audio2(ac->stream->codec, &packet, NULL, &gotpacket);
- ^~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:310:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- packet.pts = av_rescale_q(packet.pts, ac->stream->codec->time_base,
- ^~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:314:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- packet.dts = av_rescale_q(packet.dts, ac->stream->codec->time_base,
- ^~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:318:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- packet.duration = av_rescale_q(packet.duration, ac->stream->codec->time_base,
- ^~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c: In function ‘play’:
- ../audio/out/ao_lavc.c:381:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- if (ac->stream->codec->time_base.num * (double) ac->stream->time_base.den >=
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:382:17: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->stream->time_base.num * (double) ac->stream->codec->time_base.den) {
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:383:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- MP_VERBOSE(ao, "NOTE: using codec time base (%d/%d) for pts "
- ^~~~~~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:383:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- MP_VERBOSE(ao, "NOTE: using codec time base (%d/%d) for pts "
- ^~~~~~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:389:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- ac->worst_time_base = ac->stream->codec->time_base;
- ^~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:392:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- MP_WARN(ao, "NOTE: not using codec time base (%d/%d) for pts "
- ^~~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- ../audio/out/ao_lavc.c:392:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
- MP_WARN(ao, "NOTE: not using codec time base (%d/%d) for pts "
- ^~~~~~~
- In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
- from ../audio/out/ao_lavc.c:39:
- /usr/include/libavformat/avformat.h:877:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- Waf: Leaving directory `/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/build'
- Build failed
- -> task in 'objects' failed (exit status 1):
- {task 140495887976712: c ao_lavc.c -> ao_lavc.c.14.o}
- ['/usr/bin/cc', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-g', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-pthread', '-I/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/build', '-I/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0', '-I/usr/include/uchardet', '-I/usr/include/samba-4.0', '-I/usr/include/lua5.2', '-I/usr/include/alsa', '-I/usr/include/libxml2', '-I/usr/include/uuid', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/fribidi', '-I/usr/include/libdrm', '-DHAVE_VAAPI=1', '-DHAVE_LCMS2=1', '-DHAVE_UCHARDET=1', '-DHAVE_LIBAVFILTER=1', '-DHAVE_CDDA=1', '-DHAVE_VDPAU=1', '-DHAVE_LIBSMBCLIENT=1', '-DHAVE_LIBAVDEVICE=1', '-DHAVE_LIBSWRESAMPLE=1', '-DPATH_DEV_DSP="/dev/dsp"', '-DPATH_DEV_MIXER="/dev/mixer"', '-DHAVE_CACA=1', '-DHAVE_GL_WAYLAND=1', '-DHAVE_LIBV4L2=1', '-DHAVE_XEXT=1', '-DHAVE_52ARCH=1', '-DHAVE_XV=1', '-DHAVE_PULSE=1', '-D_REENTRANT', '-DHAVE_VAAPI_WAYLAND=1', '-DHAVE_VAAPI_DRM=1', '-DHAVE_DVDREAD=1', '-DHAVE_EGL_X11=1', '-DHAVE_WAYLAND=1', '-DHAVE_VAAPI_X11=1', '-DHAVE_ALSA=1', '-DHAVE_JACK=1', '-DHAVE_EGL_DRM=1', '-DHAVE_X11=1', '-DHAVE_XSS=1', '-DHAVE_XRANDR=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_RUBBERBAND=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBAV=1', '-DHAVE_XINERAMA=1', '-DHAVE_DRM=1', '-DHAVE_GBM=1', '-DHAVE_DVDNAV=1', '../audio/out/ao_lavc.c', '-c', '-o', '/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/build/audio/out/ao_lavc.c.14.o']
- ==> ERROR: A failure occurred in build().
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement