summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-03-20 15:37:51 +0000
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-03-20 15:37:51 +0000
commit051f0af17fb608d7b46860f344f281be5dc31a3c (patch)
treeb8c8aabead39669ab8e89f9686b9e7fae7864ce6
parent55b1c46910f06b51d4f55ada0a73a623c1190e93 (diff)
Handle VC-1 skipped P-frames.
-rw-r--r--src/vdpau_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vdpau_video.c b/src/vdpau_video.c
index 7073489..34d8e45 100644
--- a/src/vdpau_video.c
+++ b/src/vdpau_video.c
@@ -1290,6 +1290,7 @@ vdpau_translate_VAPictureParameterBufferVC1(vdpau_driver_data_t *driver_data,
case 1: picture_type = 1; break; /* P */
case 2: picture_type = 3; break; /* B */
case 3: picture_type = 4; break; /* BI */
+ case 4: picture_type = 1; break; /* P "skipped" */
default: ASSERT(!pic_param->picture_fields.bits.picture_type); return 0;
}