diff options
author | phintuka <phintuka> | 2008-02-19 04:05:45 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-02-19 04:05:45 +0000 |
commit | b111254c5f5cb48030a7bfde28839d30a9965fe0 (patch) | |
tree | 6658b585b2f641d667511b7ed10f6d7fbf793b8c | |
parent | 8d65274b4c0e498f0028ce7c1aff2f146283cbf4 (diff) | |
download | xineliboutput-b111254c5f5cb48030a7bfde28839d30a9965fe0.tar.gz xineliboutput-b111254c5f5cb48030a7bfde28839d30a9965fe0.tar.bz2 |
Add short jumps to video player
-rw-r--r-- | media_player.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/media_player.c b/media_player.c index 8a992558..0db0beef 100644 --- a/media_player.c +++ b/media_player.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: media_player.c,v 1.44 2008-02-19 04:00:48 phintuka Exp $ + * $Id: media_player.c,v 1.45 2008-02-19 04:05:45 phintuka Exp $ * */ @@ -665,6 +665,10 @@ eOSState cXinelibPlayerControl::ProcessKey(eKeys Key) m_Player->Control("SEEK 0"); break; } break; + case kUser8: + case k1: m_Player->Control("SEEK -20"); break; + case kUser9: + case k3: m_Player->Control("SEEK +20"); break; case k2: xc.subtitle_vpos -= 10; case k5: xc.subtitle_vpos += 5; m_Player->Control("SUBTITLES %d", xc.subtitle_vpos); |