[mythtv-commits] Ticket #4851: MythPhone fix for loopback test mode

MythTV mythtv at cvs.mythtv.org
Mon Mar 3 23:04:30 UTC 2008


#4851: MythPhone fix for loopback test mode
------------------------------------------------+---------------------------
 Reporter:  Shane Shrybman <gnome42 at gmail.com>  |       Owner:  ijr    
     Type:  patch                               |      Status:  new    
 Priority:  minor                               |   Milestone:  unknown
Component:  mythphone                           |     Version:  unknown
 Severity:  low                                 |     Mlocked:  0      
------------------------------------------------+---------------------------
 The loopback test mode in mythphone is no longer working.

 The avcodec_encode_video(..) call was returning -1. This was due to the
 pictureOut AVFrame not being initialized correctly. Specifically the pts
 was not initialized correctly.

 The fix in the attached patch switches pictureOut to be a pointer to
 AVFrame and then uses avcodec_alloc_frame() to allocate and correctly
 initialize all the fields including pts.

 I suspect this bug was revealed by one of the ffmpeg sync ups.

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


More information about the mythtv-commits mailing list