diff options
author | Julian Scheel <julian@jusst.de> | 2008-12-23 18:04:00 +0000 |
---|---|---|
committer | Julian Scheel <julian@jusst.de> | 2008-12-23 18:04:00 +0000 |
commit | 08b37241e90cddc8d1db6d0aaf6fbb602bd61ae1 (patch) | |
tree | ad39184be82aca18c1ea1f1e59e40b9905badae3 /src/libvdpau | |
parent | 27a05e59f563e7bb43fa8286646d15448f1670bf (diff) | |
download | xine-lib-08b37241e90cddc8d1db6d0aaf6fbb602bd61ae1.tar.gz xine-lib-08b37241e90cddc8d1db6d0aaf6fbb602bd61ae1.tar.bz2 |
Set H.264 progressive_frame_flag; follow it in video_out_vdpau.
(Maybe following the flag is not a good idea for mpeg2...)
Diffstat (limited to 'src/libvdpau')
-rw-r--r-- | src/libvdpau/vdpau_h264.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c index 0d55abbc6..81932e096 100644 --- a/src/libvdpau/vdpau_h264.c +++ b/src/libvdpau/vdpau_h264.c @@ -448,6 +448,11 @@ static void vdpau_h264_decode_data (video_decoder_t *this_gen, img->bad_frame = 0; + if(!pic.field_pic_flag && !pic.mb_adaptive_frame_field_flag) + img->progressive_frame = 1; + else + img->progressive_frame = 0; + struct decoded_picture *decoded_pic = NULL; if(pic.is_reference) { if(!slc->field_pic_flag || !this->wait_for_bottom_field) { |