summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Thommeret <hftom@free.fr>2008-12-20 22:11:48 +0000
committerChristophe Thommeret <hftom@free.fr>2008-12-20 22:11:48 +0000
commit2678d7535d0f261d016a0fd0119822b25b571c9d (patch)
treec142ae1dbb9a6f5acfc71db5ccc5b440738a869d
parent7fd0fd5f6109cd79e3c9a3ad255d24c4ea84ef37 (diff)
downloadxine-lib-2678d7535d0f261d016a0fd0119822b25b571c9d.tar.gz
xine-lib-2678d7535d0f261d016a0fd0119822b25b571c9d.tar.bz2
nVidia VDPAU doesn't support BASELINE.
-rw-r--r--src/libvdpau/vdpau_h264.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c
index 77835038d..438ba9921 100644
--- a/src/libvdpau/vdpau_h264.c
+++ b/src/libvdpau/vdpau_h264.c
@@ -293,7 +293,10 @@ static void vdpau_h264_decode_data (video_decoder_t *this_gen,
break;
case 66:
default:
- this->profile = VDP_DECODER_PROFILE_H264_BASELINE;
+ // nvidia's VDPAU doesn't support BASELINE. But most (every?) streams marked BASELINE do not use BASELINE specifics,
+ // so, just force MAIN.
+ //this->profile = VDP_DECODER_PROFILE_H264_BASELINE;
+ this->profile = VDP_DECODER_PROFILE_H264_MAIN;
break;
}