diff options
author | wm4 <wm4@nowhere> | 2014-03-17 18:21:11 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-17 18:21:11 +0100 |
commit | 638950731451cbef616015bd81d411e7cdbb9ff0 (patch) | |
tree | fe19c24135e89048df777b163474936afe8b2902 /video/decode | |
parent | 4e70335c2fa3eaea6f8f2d11fb7981f55a582fa5 (diff) | |
download | mpv-638950731451cbef616015bd81d411e7cdbb9ff0.tar.bz2 mpv-638950731451cbef616015bd81d411e7cdbb9ff0.tar.xz |
vdpau: remove legacy pixel formats
They were used by ancient libavcodec versions. This also removes the
need to distinguish vdpau image formats at all (since there is only
one), and some code can be simplified.
Diffstat (limited to 'video/decode')
-rw-r--r-- | video/decode/vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c index ae8f6be531..80ce21ffa3 100644 --- a/video/decode/vdpau.c +++ b/video/decode/vdpau.c @@ -146,7 +146,7 @@ static struct mp_image *allocate_image(struct lavc_ctx *ctx, int fmt, VdpChromaType chroma; mp_vdpau_get_format(IMGFMT_VDPAU, &chroma, NULL); - return mp_vdpau_get_video_surface(p->mpvdp, IMGFMT_VDPAU, chroma, w, h); + return mp_vdpau_get_video_surface(p->mpvdp, chroma, w, h); } static void uninit(struct lavc_ctx *ctx) |