mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
vdpau: add support for the "new" libavcodec vdpau API
Yet another of these dozens of hwaccel changes. This time, libavcodec provides utility functions, which initialize the vdpau decoder and map codec profiles. So a lot of work the API user had to do falls away. This also will give us support for high bit depth profiles, and possibly HEVC once libavcodec supports it.
This commit is contained in:
@@ -296,7 +296,8 @@ def build(ctx):
|
||||
( "video/decode/vaapi.c", "vaapi-hwaccel" ),
|
||||
( "video/decode/vd_lavc.c" ),
|
||||
( "video/decode/vda.c", "vda-hwaccel" ),
|
||||
( "video/decode/vdpau_old.c", "vdpau-hwaccel" ),
|
||||
( "video/decode/vdpau.c", "vdpau-hwaccel" ),
|
||||
( "video/decode/vdpau_old.c", "vdpau-old-hwaccel" ),
|
||||
( "video/filter/vf.c" ),
|
||||
( "video/filter/vf_buffer.c" ),
|
||||
( "video/filter/vf_crop.c" ),
|
||||
|
||||
Reference in New Issue
Block a user