[mythtv-commits] Ticket #1693: osd total time of quai-live 60fps shows gets doubled when recording completes

MythTV mythtv at cvs.mythtv.org
Sat Apr 15 18:50:19 UTC 2006


#1693: osd total time of quai-live 60fps shows gets doubled when recording
completes
----------------------------------+-----------------------------------------
 Reporter:  perveilerj at yahoo.com  |       Owner:  danielk
     Type:  patch                 |      Status:  new    
 Priority:  minor                 |   Milestone:         
Component:  mythtv                |     Version:         
 Severity:  medium                |  
----------------------------------+-----------------------------------------
 I believe this fixes the problem gdragon was seeing in ticket #799.
 Basically, the total length of a quasi-live recording is reported to NVP
 incorrectly for non-29.97 fps dtv recordings when the recording stops,
 resulting in the total length being doubled once the recording
 completes[[BR]][[BR]]
 The dtv recorders assume a 29.97 fps stream.  When the recording finishes,
 tvRec took the recorder's frame count, divided by its frame rate (which
 was incorrect for 60fps recording, like ATSc 720p), and informed the NVP
 of the new total length. This patch fixes the issue by changing NVP to use
 the frame count from the recorders and decoders and the frame rate from
 the stream it is playing.  This makes NVP::SetFileLength() and
 NVP::SetLength() unnecessary, so they goes away.  I've tested the patch
 with 1080i and 480i (29.97 fps) and 720p (60fps) recordings and they all
 seem to work now.

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


More information about the mythtv-commits mailing list