1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 17:12:36 +00:00
mpv/common
wm4 cfda696580 build: explicitly check for FFmpeg vs. Libav, and their exact versions
In a first pass, we check whether libavcodec is present.

Then we try to compile a snippet and check for FFmpeg vs. Libav. (This
could probably also be done by somehow checking the pkgconfig version.
But pkg-config can't deal with that idiotic FFmpeg idea that a micro
version number >= 100 identifies FFmpeg vs. Libav.)

After that we check the project-specific version numbers. This means it
can no longer happen that we accidentally allow older, unsupported
versions of FFmpeg, just because the Libav version numbers are somehow
this way.

Also drop the resampler checks. We hardcode which resampler to each with
each project. A user can no longer force use of libavresample with
FFmpeg.
2017-01-27 09:57:01 +01:00
..
av_common.c ad_lavc, vd_lavc: preserve codec_id/codec_type when setting params 2017-01-25 08:30:14 +01:00
av_common.h ad_lavc, vd_lavc: move mpv->lavc decoder parameter setup to common code 2017-01-25 08:24:19 +01:00
av_log.c build: explicitly check for FFmpeg vs. Libav, and their exact versions 2017-01-27 09:57:01 +01:00
av_log.h player: fatal error if linked and compiled FFmpeg versions mismatch 2016-07-01 20:56:59 +02:00
codecs.c options: drop deprecated --vd/--ad codecs selection features 2017-01-19 15:38:58 +01:00
codecs.h options: deprecate codec family selection in --vd/--ad 2016-12-23 18:12:29 +01:00
common.c Initial Android support 2016-02-10 21:29:36 +01:00
common.h common: use char array for version string 2016-09-06 20:08:44 +02:00
encode_lavc.c Prefix libavcodec CODEC_FLAG_ constants with AV_ 2016-12-29 07:37:31 +01:00
encode_lavc.h encode_lavc: Migrate to codecpar API. 2016-04-11 14:57:20 -04:00
encode.h
global.h m_config: introduce basic mechanism to synchronize global option updates 2016-09-02 15:50:40 +02:00
msg_control.h player: make --log-file and --dump-stats freely settable at runtime 2016-09-19 19:56:40 +02:00
msg.c msg: flush after every message for --log-file 2016-09-30 14:55:59 +02:00
msg.h Update license headers 2015-04-13 12:10:01 +02:00
playlist.c playlist: improve shuffle algorithm 2016-03-20 19:51:22 +01:00
playlist.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
tags.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
tags.h
version.c common: use char array for version string 2016-09-06 20:08:44 +02:00