Ticket #2790: changes_internal_dvd_player.diff

File changes_internal_dvd_player.diff, 948 bytes (added by skamithi, 19 years ago)

problem is that i'm trying to resolve a couple of issues and each attempt seems to cause a problem. attaching a patch that works for otto. have to get a dvd where the dvd menu flickers. if this patch resolves both issues, then hopefully i've resolved this issue.

  • libs/libmythtv/NuppelVideoPlayer.cpp

     
    24042404    video_actually_paused = false;
    24052405    resetvideo = false;
    24062406
    2407     if (!ringBuffer->InDVDMenuOrStillFrame() ||
    2408         (ringBuffer->DVD()->NumMenuButtons() > 0 &&
    2409          ringBuffer->DVD()->GetChapterLength() > 3))
     2407    if (!ringBuffer->InDVDMenuOrStillFrame())
    24102408    {
    24112409        if (!PrebufferEnoughFrames())
    24122410        {
     
    25052503    AutoDeint(frame);
    25062504
    25072505    videofiltersLock.lock();
    2508     if (ringBuffer->isDVD() &&
    2509         ringBuffer->DVD()->InStillFrame() &&
    2510         videoOutput->ValidVideoFrames() < 3)
     2506    if (ringBuffer->InDVDMenuOrStillFrame() &&
     2507        videoOutput->ValidVideoFrames() == 2)
    25112508    {
    25122509        videoOutput->ProcessFrame(frame, NULL, NULL, pipplayer);
    25132510    }