diff h264_parser.c @ 8522:f8c091bb5779 libavcodec

Add VDPAU hardware accelerated decoding for H264 which can be used by video players. Original patch by NVIDIA corporation.
author cehoyos
date Sun, 04 Jan 2009 23:55:27 +0000
parents 7c82ed8d4824
children 7a463923ecd1
line wrap: on
line diff
--- a/h264_parser.c	Sun Jan 04 18:58:49 2009 +0000
+++ b/h264_parser.c	Sun Jan 04 23:55:27 2009 +0000
@@ -161,7 +161,8 @@
 
 
 AVCodecParser h264_parser = {
-    { CODEC_ID_H264 },
+    { CODEC_ID_H264,
+      CODEC_ID_H264_VDPAU },
     sizeof(H264Context),
     NULL,
     h264_parse,