[FFmpeg-devel] [PATCH v2] Add MediaFoundation wrapper
wm4
nfxjfg at googlemail.com
Tue Apr 4 17:55:12 EEST 2017
On Tue, 4 Apr 2017 16:30:58 +0200
Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2017-04-04 16:04 GMT+02:00 wm4 <nfxjfg at googlemail.com>:
> > On Tue, 4 Apr 2017 15:44:29 +0200
> > Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> >
> >> 2017-04-04 12:45 GMT+02:00 wm4 <nfxjfg at googlemail.com>:
> >> > On Tue, 4 Apr 2017 12:43:14 +0200
> >> > Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> >> >
> >> >> 2017-04-04 12:41 GMT+02:00 wm4 <nfxjfg at googlemail.com>:
> >> >> > On Tue, 4 Apr 2017 12:09:23 +0200
> >> >> > Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> >> >> >
> >> >> >> 2017-04-04 7:45 GMT+02:00 wm4 <nfxjfg at googlemail.com>:
> >> >> >>
> >> >> >> > + --enable-mf enable decoding via MediaFoundation [no]
> >> >> >>
> >> >> >> Why is it not autodetected?
> >> >> >
> >> >> > Do we want that?
> >> >>
> >> >> Would autodetection break FFmpeg for anybody on Vista or newer?
> >> >>
> >> >
> >> > I don't know. You didn't answer my question.
> >>
> >> Yes, I did.
> >> We don't want to break distributed builds with the auto-detection.
> >
> > Can't see where you did.
>
> Consider reading the message again;-)
Nope, can't see where you did.
> > This directly links some mfplat.dll functions, so as I understand, it'd
> > require at least Windows XP SP2 for libavcodec binaries to run.
>
> Which isn't supported by default builds anymore afaiu.
Then why do we put so much effort into being XP compatible?
> > But I can't test that. Also, build would almost surely fail with older
> > MinGW-w64 versions or original MinGW.
>
> Auto-detection of course means that configure disables the feature
> if a build would fail.
> But I am sure you knew that.
>
> Please add auto-detection, Carl Eugen
That's not autodetection, just a "normal" check. Autodetection means
the feature is automatically enabled if it's detected (thus the naming).
It's not enabled by default and you have to use --enable-mf.
More information about the ffmpeg-devel
mailing list