[mythtv-commits] Ticket #303: Some code to guess the category of an insert cd/dvd

MythTV mythtv at cvs.mythtv.org
Mon Mar 13 10:18:39 UTC 2006


#303: Some code to guess the category of an insert cd/dvd
-------------------------+--------------------------------------------------
 Reporter:  anonymous    |        Owner:  ijr 
     Type:  enhancement  |       Status:  new 
 Priority:  minor        |    Milestone:  0.20
Component:  mythtv       |      Version:  head
 Severity:  medium       |   Resolution:      
-------------------------+--------------------------------------------------
Comment (by leo at wau.mis.ah.nl):

 The function void MythMediaDevice::DetectMediaType(void) has a bug. It
 does not reset the value
 of 'score'. At the head of the code block in the for-loop:
 {{{
   for (em = ExtensionMapList.first(); em; em = ExtensionMapList.next())
 }}}

 The statement 'score = 0;' should be added.

 I can generate a new diff on request, but I think the above will suffice
 for now.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/303>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list