2007-08-20, 00:36
No idea - try it in regular mplayer
spiff Wrote:first, define the appropriate action. then map it in keymap. finally handle the action in OnAction() whereever you want it (most like CGUIWindowFullscreen).
actions are defined in guilib/Key.h
ButtonTranslator.cpp maps it to a 'human' name which you use in keymap.xml
jmarshall Wrote:The next/previous chapter seeking is done by the DVDPlayer, which should be working on XBMC_PC, at least for some videos.
If it's not, you can make a quick change to PlayerCoreFactory.cpp to make sure it's being used.
If a video is playing the action gets sent to the player first for processing (so it can do dvd menu stuff for instance) and only if not handled (returns false) drops back to CGUIWindowFullScreen.
Cheers,
Jonathan
jmarshall Wrote:Not sure I can give you any hints, other than to dump a breakpoint in CGUIWindowFullScreen::OnAction() and checking that it goes into that function. Work your way back to CApplication::OnKey() until you find the issue.
Cheers,
Jonathan
jmarshall Wrote:Not sure I can give you any hints, other than to dump a breakpoint in CGUIWindowFullScreen::OnAction() and checking that it goes into that function. Work your way back to CApplication::OnKey() until you find the issue.
Cheers,
Jonathan
jmarshall Wrote:because it's not fullscreen?
Tab toggles to fullscreen IIRC.
//If current time isn't bound by the total time,
//we have to seek using absolute percentage instead
if( GetTime() > iTime * 1000 )
{
SeekPercentage(GetPercentage()+percent);
}