Ticket #2542: madagascar_menu.diff

File madagascar_menu.diff, 608 bytes (added by skamithi, 14 years ago)

potential fix for madagascar dvd menu problem.

  • libs/libmythtv/DVDRingBuffer.cpp

     
    534534    else
    535535        return;
    536536
    537     dvdnav_menu_call(dvdnav, menuid);
     537    if ((dvdnav_menu_call(dvdnav, menuid) == DVDNAV_STATUS_ERR))
     538    {
     539        if (str == "menu")
     540            dvdnav_menu_call(dvdnav, DVD_MENU_Root);
     541        else if (str == "chapter")
     542            dvdnav_menu_call(dvdnav, DVD_MENU_Title);
     543    }
    538544}
    539545
    540546void DVDRingBufferPriv::GoToNextProgram(void)