1
mirror of https://github.com/mpv-player/mpv synced 2024-08-28 05:46:13 +02:00
mpv/video/decode
wm4 4d903127ad demux: rename Windows symbols
There are some Microsoft Windows symbols which are traditionally used by
the mplayer core, because it used to be convenient (avi was the big
format, using binary windows decoders made sense...). So these symbols
have the exact same definition as the Windows one, and if mplayer is
compiled on Windows, the symbols from windows.h are used.

This broke recently just because some files were shuffled around, and
the symbols defined in ms_hdr.h collided with windows.h ones. Since we
don't have windows binary decoders anymore, there's not the slightest
reason our symbols should have the same names. Rename them to reduce the
risk for collision, and to fix the recent regression.

Drop WAVEFORMATEXTENSIBLE, because it's mostly unused. ao_dsound defines
its own version if the windows headers don't define it, and ao_wasapi is
not available on systems where this symbol is missing.

Also reindent ms_hdr.h.
2013-11-02 15:14:12 +01:00
..
dec_video.c video: handle video output levels with mp_image_params 2013-08-24 19:40:18 +02:00
dec_video.h dec_video: remove unused declaration of a former global variable 2013-10-31 18:17:13 +01:00
lavc_dr1.c vdpau: split off decoder parts, use "new" libavcodec vdpau hwaccel API 2013-07-28 19:25:07 +02:00
lavc.h video: check profiles with hardware decoding 2013-11-01 17:33:33 +01:00
vaapi.c video: check profiles with hardware decoding 2013-11-01 17:33:33 +01:00
vd_lavc.c demux: rename Windows symbols 2013-11-02 15:14:12 +01:00
vd.c video: let sh_video->disp_w/h always be container size 2013-09-26 17:33:57 +02:00
vd.h cosmetics: replace "CTRL" defines by enums 2013-10-02 21:19:16 +02:00
vda.c video: add vda decode support (with hwaccel) and direct rendering 2013-08-22 12:13:30 +02:00
vdpau_old.c vdpau_old: restore hardware decoding with old API 2013-10-19 20:57:43 +02:00
vdpau.c video: check profiles with hardware decoding 2013-11-01 17:33:33 +01:00