Ticket #2542: dvd_osd_menu_fix.diff
File dvd_osd_menu_fix.diff, 1.8 KB (added by , 19 years ago) |
---|
-
libs/libmythtv/DVDRingBuffer.cpp
527 527 void DVDRingBufferPriv::GoToMenu(const QString str) 528 528 { 529 529 DVDMenuID_t menuid; 530 if (str.compare("part") == 0) 531 menuid = DVD_MENU_Part; 532 else if (str.compare("menu") == 0) 530 if (str.compare("chapter") == 0) 533 531 menuid = DVD_MENU_Root; 532 else if (str.compare("menu") == 0) 533 menuid = DVD_MENU_Title; 534 534 else 535 535 return; 536 536 537 if ((dvdnav_menu_call(dvdnav, menuid) == DVDNAV_STATUS_ERR) && 538 (str == "menu")) 539 { 540 dvdnav_menu_call(dvdnav, DVD_MENU_Title); 541 } 537 dvdnav_menu_call(dvdnav, menuid); 542 538 } 543 539 544 540 void DVDRingBufferPriv::GoToNextProgram(void) -
libs/libmythtv/tv_play.cpp
6090 6336 { 6091 6337 if (action == "JUMPTODVDROOTMENU") 6092 6338 activenvp->GoToDVDMenu("menu"); 6339 else if (action == "JUMPTODVDCHAPTERMENU") 6340 activenvp->GoToDVDMenu("chapter"); 6093 6341 else if (action == "TOGGLEEDIT") 6094 6342 StartProgramEditMode(); 6095 6343 else if (action == "TOGGLEAUTOEXPIRE") … … 6273 6519 } 6274 6520 else if (StateIsPlaying(internalState) && activerbuffer->isDVD()) 6275 6521 { 6276 item = new OSDGenericTree(treeMenu,tr("DVD Root Menu"), "JUMPTODVDROOTMENU"); 6522 item = new OSDGenericTree(treeMenu,tr("DVD Root Menu"), 6523 "JUMPTODVDROOTMENU"); 6524 item = new OSDGenericTree(treeMenu, tr("DVD Chapter Menu"), 6525 "JUMPTODVDCHAPTERMENU"); 6277 6526 } 6278 6527 else if (StateIsPlaying(internalState)) 6279 6528 {