Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#7991 closed patch (fixed)

WinTV USB support

Reported by: anonymous Owned by: danielk
Priority: minor Milestone: 0.23
Component: MythTV - Recording Version: 0.22-fixes
Severity: medium Keywords: WinTV
Cc: Ticket locked: no

Description

WinTV USB care works fine under mplayer but not in mythtv. I figured out that the video buffer count is 3 for this card but in mythtv the minimum buffer size seems to be 5. Reducing the minimum size to 3, my WinTV USB works fine now.

This patch is not critical since all card which worked before (have more than 5 buffers) will still work.

See attached patch.

Index: libs/libmythtv/NuppelVideoRecorder.cpp =================================================================== --- libs/libmythtv/NuppelVideoRecorder.cpp (revision 23324) +++ libs/libmythtv/NuppelVideoRecorder.cpp (working copy) @@ -1389,7 +1389,7 @@

return;

}

  • if (vrbuf.count < 5)

+ if (vrbuf.count < 3)

{

VERBOSE(VB_IMPORTANT, LOC_ERR + "Not enough buffer memory, exiting"); errored = true;

Attachments (1)

wintvusb.patch (443 bytes) - added by anonymous 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by anonymous

Attachment: wintvusb.patch added

comment:1 Changed 14 years ago by Stuart Auchterlonie

(In [23383]) Refs #7991. Whitespace only cleanup.

comment:2 Changed 14 years ago by Stuart Auchterlonie

Resolution: fixed
Status: newclosed

(In [23384]) Closes #7991. Implement patch in a slightly different way. Now just raises an informational if the number of buffers we get back is less than what we requested.

comment:3 Changed 14 years ago by Stuart Auchterlonie

Milestone: unknown0.23
Note: See TracTickets for help on using tickets.