View Single Post
Old 02-10-09, 03:24 PM   #72
bexbier
Registered User
 
Join Date: Oct 2008
Posts: 19
Default Re: Xine vdpau announcement

hy

had the same problem, here a fix ( dont know if this is correct so, but it works )

Quote:
--- /usr/src/xine-vdpau/src/libvdpau/vdpau_mpeg12.c 2009-02-10 20:22:50.000000000 +0100
+++ /usr/src/xine-vdpau/src/libvdpau/vdpau_mpeg12.c.new 2009-02-10 20:18:25.000000000 +0100
@@ -732,8 +732,8 @@
sequence_t *seq = (sequence_t*)&this->sequence;

if (buf->decoder_flags & BUF_FLAG_FRAMERATE) {
- this->video_step = buf->decoder_info[0];
- _x_stream_info_set(this->stream, XINE_STREAM_INFO_FRAME_DURATION, this->video_step);
+ seq->video_step = buf->decoder_info[0];
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_FRAME_DURATION, seq->video_step);
}

if ( !buf->size )
regards

bex
bexbier is offline   Reply With Quote