[mythtv-commits] Ticket #7991: WinTV USB support

MythTV mythtv at cvs.mythtv.org
Sat Jan 30 08:54:00 UTC 2010


#7991: WinTV USB support
--------------------------------+-------------------------------------------
 Reporter:  anonymous           |       Owner:  danielk   
     Type:  patch               |      Status:  new       
 Priority:  minor               |   Milestone:  unknown   
Component:  MythTV - Recording  |     Version:  0.22-fixes
 Severity:  medium              |     Mlocked:  0         
--------------------------------+-------------------------------------------
 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;

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7991>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list