1
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 03:06:28 +01:00

Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which will

be used by MPlayer.

Original patch by NVIDIA corporation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28322 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cehoyos 2009-01-16 02:14:25 +00:00
parent 8ba39dcfcc
commit 285e30f1e4

View File

@ -454,6 +454,10 @@ const char *sws_format_name(enum PixelFormat format)
return "yuv440p";
case PIX_FMT_VDPAU_H264:
return "vdpau_h264";
case PIX_FMT_VDPAU_MPEG1:
return "vdpau_mpeg1";
case PIX_FMT_VDPAU_MPEG2:
return "vdpau_mpeg2";
default:
return "Unknown format";
}