[mythtv-commits] Ticket #4240: Recording length has doubled

MythTV mythtv at cvs.mythtv.org
Tue May 13 17:22:35 UTC 2008


#4240: Recording length has doubled
--------------------------------+-------------------------------------------
 Reporter:  tahoward at nc.rr.com  |        Owner:  janne   
     Type:  defect              |       Status:  assigned
 Priority:  minor               |    Milestone:  0.22    
Component:  mythtv              |      Version:  head    
 Severity:  high                |   Resolution:          
  Mlocked:  0                   |  
--------------------------------+-------------------------------------------

Comment(by Shane Shrybman <gnome42 at gmail.com>):

 I believe the attached patch (mythtv_NVR_double_length_fix.diff) also
 fixes the double length problem.

 It uses avcodec_get_frame_defaults() to initialize the AVFrame.
 avcodec_get_frame_defaults() memsets the structure and does pic->pts=
 AV_NOPTS_VALUE which eliminates the need for the workaround.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4240#comment:16>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list