Ticket #1043: exit_menu_hang_problem.patch

File exit_menu_hang_problem.patch, 592 bytes (added by skamithi, 18 years ago)

prevents mythtv hang when exiting dvd and playbackexitprompt == 1. basically just exit the dvd if in a dvd still frame. don't show the video exit menu.

  • libs/libmythtv/tv_play.cpp

     
    25362536            }
    25372537            else if (StateIsPlaying(internalState) &&
    25382538                     gContext->GetNumSetting("PlaybackExitPrompt") == 1 &&
    2539                      playbackinfo && playbackinfo->isVideo)
     2539                     playbackinfo && playbackinfo->isVideo &&
     2540                     !prbuffer->DVD()->InStillFrame())
    25402541            {
    25412542                nvp->Pause();
    25422543