Ticket #7759: t7759_repeat_pict_v1_part3.diff

File t7759_repeat_pict_v1_part3.diff, 849 bytes (added by tralph11@…, 11 years ago)

Part 3 only includes drop frame enhancement

  • libs/libmythtv/NuppelVideoPlayer.cpp

     
    24702470    if (kScan_Detect == m_scan || kScan_Ignore == m_scan)
    24712471        ps = kScan_Progressive;
    24722472
     2473    bool dropframe = false;
    24732474    if (diverge < -MAXDIVERGE)
    24742475    {
     2476        dropframe = true;
    24752477        // If video is way behind of audio, adjust for it...
    24762478        QString dbg = QString("Video is %1 frames behind audio (too slow), ")
    24772479            .arg(-diverge);
     
    25712573                .arg(warpfactor).arg(warpfactor_avg));
    25722574    }
    25732575
    2574     videosync->AdvanceTrigger();
     2576    if (!dropframe)
     2577        videosync->AdvanceTrigger();
    25752578    avsync_adjustment = 0;
    25762579
    25772580    if (diverge > MAXDIVERGE)