Opened 11 years ago

Closed 11 years ago

#6244 closed patch (fixed)

pointer error in util-vdpau.cpp enabling deinterlacing features

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: 0.22
Component: MythTV - Video Playback Version: unknown
Severity: medium Keywords: vdpau deinterlacing
Cc: Ticket locked: no

Description

util-vdpau.cpp uses the function vdp_video_mixer_set_feature_enables to enable temporal or temporal_spatial deinterlacing. By tracing the calls to this function I noticed that the feature_values passed to the function was wrong (should be a list of 0 or 1 for disable or enable):

2009-02-08 14:52:33.931 VDP: GetFilteredDeint?() : vdpau -> 'vdpauadvanced' vdp_video_mixer_set_feature_enables(9, 2, {0, 1}, {0, 4465867})

-> 0

vdp_get_error_string(0)

-> 'UNKNOWN'

2009-02-08 14:52:33.931 VDPAU Error: Error at util-vdpau.cpp:1500 (#0, UNKNOWN)

The attached patch fixes the error for me.

Attachments (1)

util-vdpau.cpp.diff (609 bytes) - added by anonymous 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by anonymous

Attachment: util-vdpau.cpp.diff added

comment:1 Changed 11 years ago by markk

Resolution: fixed
Status: newclosed

(In [19966]) Tidy up VDPAU deinterlacing code. Closes #6244. N.B. this doesn't actually eliminate the VDPAU generated errors, which seem to be a driver issue.

Note: See TracTickets for help on using tickets.