[mythtv-commits] Ticket #7759: [PATCH] Add support for repeat_pict plus related AV-sync improvements

MythTV mythtv at cvs.mythtv.org
Wed Dec 16 15:57:30 UTC 2009


#7759: [PATCH] Add support for repeat_pict plus related AV-sync improvements
-------------------------------------+--------------------------------------
 Reporter:  tralph11@…               |       Owner:  janne  
     Type:  patch                    |      Status:  new    
 Priority:  minor                    |   Milestone:  unknown
Component:  MythTV - Video Playback  |     Version:  unknown
 Severity:  medium                   |     Mlocked:  0      
-------------------------------------+--------------------------------------
 I've created a patch that implements the correct video delays when frames
 with the repeat_pict flag are processed. This dramatically improves
 playback for HD 720p and 1080i broadcast material. Also included are some
 AV-sync improvements which improve next trigger management. I'm including
 a complete patch and also in parts to allow ease of integration and
 discussion.

  * Part 1

 This implements the repeat_pict delay logic in NVP and also increases the
 allowed delay by CalcDelay in vsync.cpp

  * Part 2

 The next trigger was being allowed to fall behind too far when trying to
 speed up video playback faster than possible. This caused severe playback
 issues when repeated frames were encountered or a frame dropped.

  * Part 3

 This prevents the trigger from being advanced when a frame is dropped. If
 the frame is dropped but the next trigger is advanced you lose the benefit
 of dropping the frame.

 This set of patches fully addresses all the problems I've seen in the past
 and also resolves some extreme cases reported in the following discussion:

 http://www.gossamer-threads.com/lists/mythtv/users/412883

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


More information about the mythtv-commits mailing list