[MPlayer-dev-eng] [PATCH][RFC] configure: Invoke FFmpeg's configure

Alexander Strasser eclipse7 at gmx.net
Mon Jan 8 23:45:10 EET 2018

On 2018-01-08 22:14 +0100, Alexander Strasser wrote:
> Here follows the promised data on how often we change configure:
>   * Starting from 2017-01-01 to 2017-01-07 there were 109 commits in total
>     * 78/109 commits (~71.6%) were *not* touching configure
>     * 31/109 commits (~28.4%) were touching configure
>       * 26/31 commits (~83.9%) related to FFmpeg's build system somehow
>       *  5/31 commits (~16,1%) not related to FFmpeg's build system somehow
> Some of that 26 commits related to FFmpeg's build system are not
> a direct response to a change in FFmpeg but probably wouldn't have
> been needed if we would run FFmpeg's configure as is proposed in this
> patch. I didn't closely look at all commit diffs, and there might be
> some errors in how I processed or catagorized the data. I will post
> the data in subsequent reply, so others can have a look and/or
> investigate on their own.

Here follows the data (it's extracted out of the Git mirror):

(78/109 commits ~71.6%) *not* not changing configure:
2017-01-04T15:30:05+00:00 ead276f11 Enable demuxer_get_percent_pos() for FLAC audio.
2017-01-04T15:47:52+00:00 98cef6897 Update year.
2017-01-04T20:00:10+00:00 060521380 mp_msg.c: Fix leaking get_term_charset return value.
2017-01-07T18:40:02+00:00 d5b62e6c8 codecs.conf: add ffmpeg qdmc audio decoder
2017-01-07T20:41:10+00:00 8be94dbe0 DOCS: fix up udp-slave example
2017-01-10T04:15:36+00:00 f3ae1664c Add missing #include.
2017-01-10T05:07:01+00:00 31c90ba88 Expect file name and path to be UTF-8 encoded in cue sheet playlists.
2017-01-10T11:42:43+00:00 7741f91df Add another missing #include.
2017-01-10T17:57:18+00:00 cb125d36a codecs.conf: add ff pixlet decoder, thanks paul!
2017-01-10T18:06:35+00:00 2f891884f codecs.conf: fix ffylc0 decoder
2017-02-01T13:29:04+00:00 423b605d5 demux: make lavf default flac demuxer
2017-02-01T13:38:14+00:00 ad0b82aec DOCS: ftp incoming gone, update to new incoming http url
2017-02-05T16:04:47+00:00 ef0c8238c codecs.conf: add morgan tvmj binary codec, works on fftrac 3767
2017-02-05T16:25:11+00:00 c7b700c00 codecs.conf: also add fljp to the tvmj binary codec
2017-02-06T04:39:22+00:00 acc0e4f9b codecs.conf: add qtx affinity ImJG codec, plays ff trac 5235
2017-02-06T04:46:13+00:00 bf4d0b0e8 codecs.conf: qtaffinity requires -demuxer mov
2017-02-13T01:04:55+00:00 12f77e1a9 codecs.conf: add dvrs to ffdv
2017-02-26T17:32:59+00:00 837ce1456 codecs.conf: add ffscpr and fffoxmotion
2017-03-13T20:42:18+00:00 3c67c71db mpcommon: common_init: Avoid creating a mem leak of codec_path
2017-04-19T23:06:04+00:00 83c7d1de5 vo_vdpau: Explicitly include header vdpau_x11.h
2017-04-26T11:59:24+00:00 ee181d62c Add a DEMUXER_CTRL to get the ReplayGain.
2017-04-29T11:09:23+00:00 1ea33de8c mplayer.c: Fix timing of first frame.
2017-04-29T11:09:30+00:00 0b9cd186b timing: pass through endpts and time last frame correctly.
2017-04-29T11:09:32+00:00 9b2526d3e stream_dvd.c: Partially support non-ascii file paths.
2017-06-20T21:59:38+00:00 5f3e4655f ao_ivtv: Fix broken sample rate check
2017-07-03T19:00:43+00:00 93ab10c27 ad_ffmpeg.c: Fix decoding after FFmpeg broke API.
2017-08-26T20:34:40+00:00 6e46e0217 vo_xv: Simplify plane swapping
2017-08-26T20:36:28+00:00 2c3372d1e vo_xv: When copying planes use the associated pitch
2017-08-26T20:39:18+00:00 608cfc60a vo_xv: cosmetics: Fix indentation after previous commits
2017-08-26T20:44:15+00:00 5be8e79bd vo xv: Limit output formats to what the vo actually supports
2017-08-26T20:51:25+00:00 e1fc6684c vo_xv: Support NV12/21
2017-08-30T19:49:50+00:00 cd38aaeae Work around FFmpeg get_buffer2 API change.
2017-08-30T20:16:40+00:00 83ca6b7ec Restore frametime on seek.
2017-09-06T22:05:41+00:00 a0c9cb5a4 osd: Add NV12/21 support
2017-09-09T14:56:52+00:00 bd4c7acc5 mplayer: Fix audio-only seeking
2017-09-16T19:06:15+00:00 4e6869444 OSX: Fix issues with vos on newer OSX versions.
2017-09-23T12:59:18+00:00 b661cce84 Improve doxygen documentation.
2017-09-24T21:10:06+00:00 2a8f3cd3f OSX: Avoid crashes in older OSX versions.
2017-09-26T09:33:22+00:00 b351e3893 Avoid nonsensical elapsed time.
2017-09-29T15:50:58+00:00 739c177b4 Fix cue file analyzer.
2017-10-03T13:47:11+00:00 2485143b6 Accept ReplayGain information from arbitrary encoders.
2017-10-03T13:49:05+00:00 3c1dfa260 Cosmetic: Adjust indent.
2017-10-05T10:00:49+00:00 05eef385e Don't set last cue sheet playlist entry's stop time to zero.
2017-10-05T10:16:41+00:00 eb6626d2c Optimize playback of cue sheet playlists.
2017-10-05T10:17:23+00:00 c2380733e Cosmetic: Adjust indent.
2017-10-05T11:02:14+00:00 28d784d5f Make position selection during cue sheet playlist playback consistent.
2017-10-05T12:21:58+00:00 016a10665 Improve cue sheet playlist playback.
2017-10-05T12:25:49+00:00 96a5a3dcb Add information about improvements of cue sheet playlist playback.
2017-10-06T12:44:18+00:00 de90b9588 Update listMgr command PLAYLIST_ITEM_FIND.
2017-10-06T12:51:03+00:00 fb8e5c534 Define variable in function scope.
2017-10-06T12:51:57+00:00 ef52e3da7 Cosmetic: Adjust indent.
2017-10-06T13:00:21+00:00 ce5fa9c67 Add new listMgr command PLITEM_FREE.
2017-10-06T13:10:09+00:00 1b0585da8 Add new listMgr command PLITEM_COPY.
2017-10-06T17:02:12+00:00 998fa3152 Prettify the playlist dialog.
2017-10-06T17:11:59+00:00 062e40d59 Increase size of playlist dialog.
2017-10-07T10:01:26+00:00 a77bcb15d Revise playlist dialog code.
2017-10-07T10:57:07+00:00 6fcdd3155 Prepare cue sheet playlist support in playlist dialog.
2017-10-07T11:48:47+00:00 11f0904c5 Fully support cue sheet playlist entries in playlist dialog.
2017-10-07T11:51:09+00:00 22c7e8082 Cosmetic: Adjust indent and spacing.
2017-10-08T06:18:41+00:00 7e72ecfc9 Fix corrupt German man page.
2017-10-09T08:46:09+00:00 55728e4ea Add GUI options for ReplayGain support.
2017-10-09T09:58:49+00:00 410a68d5e Implement ReplayGain support.
2017-10-09T12:51:58+00:00 f3e483040 Make ReplayGain options configurable through GUI's preferences dialog.
2017-10-09T14:46:35+00:00 4e00eb34d Make Win32 GUI's widget renderer more compatible
2017-10-09T14:56:14+00:00 ed3db2996 Add symbol character 'g' for dynamic label variable $g.
2017-10-09T14:57:43+00:00 dc1ba1369 Cosmetic: Adjust indent.
2017-10-09T16:25:23+00:00 dd3db9ab6 Enable skins to leave current volume unchanged at GUI startup.
2017-10-10T14:31:51+00:00 3b5bd3066 Revise German translation of MSGTR_GUI_ReplayGainAdjustment.
2017-10-10T16:56:43+00:00 8948b0313 Enable ReplayGain for files without ReplayGain data.
2017-10-10T16:57:36+00:00 f14900cf4 Cosmetic: Adjust indent.
2017-10-10T18:27:01+00:00 778bc1218 Respect a volume change while in ReplayGain playback.
2017-10-22T17:53:38+00:00 b25e71e59 Fix build after FFmpeg major bump
2017-10-28T19:43:05+00:00 248d34761 Fix compilation with XvMC after FFmpeg version bump.
2017-10-31T22:33:45+00:00 3bd02a647 ve_lavc,ae_lavc: Adjust to work with newest FFmpeg again
2017-11-16T22:48:59+00:00 f65c9bca5 demux lavf: mp_read: Propagate EOF
2018-01-01T05:26:14+00:00 7a6d12bfc docs : loop 0 is good for auto reconnection to live streams
2018-01-01T05:27:29+00:00 93cd59897 docs : typo
2018-01-06T00:54:40+00:00 e38fdf92b muxer_avi: Remove needless memset to 0 after calloc

(21/109 commits ~19.2%) related to FFmpeg build system changes:
2017-01-13T19:52:02+00:00 bb76699f9 configure: fix build, patch by KO Myung-Hun
2017-02-13T22:10:56+00:00 18594ea72 configure: Fix build
2017-02-14T22:47:17+00:00 afd8cfaa7 configure: Fix build by following FFmpeg Makefile variable rename
2017-04-03T20:26:45+00:00 eb742b312 Disable VP8 QSV decoder Fixes compilation after FFmpeg e0b164576f7467b7b1127c18175e215dc1df011f
2017-04-05T21:09:57+00:00 295895133 configure: Define HAVE_SIMD_ALIGN_32
2017-04-11T19:49:43+00:00 abbc47a6b Fix compilation after FFmpeg 4588063f3ecd9c97ebf61e7791be9978176cdb2b (HEVC) and FFmpeg 521197ebecba1f6b5f58e9ebb3cd4d06f0786d8f (MPEG audio)
2017-05-07T15:32:22+00:00 8d4fb3d8f configure: Update for FFmpeg build system changes.
2017-06-12T22:03:41+00:00 4fa857290 configure: Filter out FFmpeg mpeg2 mediacodec decoder
2017-06-25T17:02:14+00:00 973e6b179 configure: Fix yasm/nasm support.
2017-06-30T20:29:33+00:00 d7617602d Fix compilation after FFmpeg 0cc0c5b6dbf187f9c096de03d999da040197ffe6
2017-09-09T20:44:27+00:00 9edd692bf configure: Disable FFmpeg DASH demuxer
2017-09-24T17:44:45+00:00 07043f9cf configure: disable v4l2m2m de-/encoders.
2017-09-29T05:55:14+00:00 acc70ea19 configure: Disable RKMPP codecs to fix compilation.
2017-10-21T14:27:00+00:00 eff3fbf94 Fix build with newer FFmpeg
2017-10-31T00:33:19+00:00 f96480bda configure: Fix build with newer FFmpeg
2017-11-02T22:20:45+00:00 cee9a5508 build: Adjust to new internal structure of FFmpeg TLS components
2017-11-05T09:51:38+00:00 7d2d270e8 configure: Detect and use libopenjpeg2 only
2017-11-14T21:56:09+00:00 a8c429f8a configure: Broaden pattern to disable videotoolbox encoders
2017-11-26T01:25:33+00:00 4043ca358 Prepare configure for upcoming changes in FFmpeg.
2017-11-30T22:07:54+00:00 ded33403f configure: Disable FFmpeg AMF encoders
2018-01-04T20:12:30+00:00 f68e17cbb configure: Generate negative results for AVX512

(5/109 commits ~ 4.6%) would probably not have been necessary if we invoked FFmpeg's configure
2017-04-05T21:05:35+00:00 ba53caec5 configure: Fix _aligned_malloc check
2017-05-27T09:56:27+00:00 7b1238a3b configure: Compile fix when zlib is not available.
2017-05-28T18:22:08+00:00 14390131a configure: one more fix for compile without zlib.
2017-09-16T19:04:20+00:00 f54e7bf28 configure: fix compilation without yasm/nasm.
2017-11-03T00:15:52+00:00 5f1bb1453 configure: Remove useless line in helper function contains_item

(5/109 commits ~ 4.6%) not related to FFmpeg's build system:
2017-04-20T20:59:57+00:00 83bb0e323 Change XSL and DocBook defaults.
2017-06-18T22:14:07+00:00 db4575ccb configure: Fix build on cygwin
2017-09-10T17:27:45+00:00 a2c0deb9c configure: Support to statically link against FreeType library
2017-12-22T23:47:20+00:00 3b703f73e configure: MNG: Fix choosing the -l flags for the compiler
2017-12-23T00:33:10+00:00 334605bfd configure: x264: Don't do redundant linking checks

More information about the MPlayer-dev-eng mailing list