diff options
author | NVIDIA Corporation <> | 2009-01-04 23:55:27 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-01-04 23:55:27 +0000 |
commit | 369122dd775c906be06b9c96f03eaedaedb91658 (patch) | |
tree | 98cfb62add0d54a64873bff18b270924b71a5c4e /libavcodec/h264_parser.c | |
parent | bc1d2afb3757ef89d23fd3f91202a3400e3c76da (diff) | |
download | ffmpeg-369122dd775c906be06b9c96f03eaedaedb91658.tar.gz |
Add VDPAU hardware accelerated decoding for H264 which can be used by
video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r-- | libavcodec/h264_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index ddb79a3094..cfa04c4460 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -161,7 +161,8 @@ static void close(AVCodecParserContext *s) AVCodecParser h264_parser = { - { CODEC_ID_H264 }, + { CODEC_ID_H264, + CODEC_ID_H264_VDPAU }, sizeof(H264Context), NULL, h264_parse, |