[vdr] vdr-xine FF & RW stall

Simon Baxter linuxtv at nzbaxters.com
Fri Jul 15 08:46:43 CEST 2005


Reinhard Nissl wrote:
> Personally, I've added that the key 1/3 skips back/forward 10 seconds.
> But the two keys are intended to be used differently. That's way my
> patch didn't make it into VDR yet.
> --- ../vdr-1.3.25-orig/keys.h 2004-12-27 12:10:59.000000000 +0100
> +++ keys.h 2005-01-09 18:24:11.000000000 +0100
> @@ -65,6 +65,8 @@ enum eKeys { // "Up" and "Down" must be
> #define kMarkJumpForward k9
> #define kEditCut         k2
> #define kEditTest        k8
> +#define kEditJumpBack    k1
> +#define kEditJumpForward k3
>
> #define RAWKEY(k)        (eKeys((k) & ~k_Flags))
> #define ISRAWKEY(k)      ((k) != kNone && ((k) & k_Flags) == 0)
> --- ../vdr-1.3.25-orig/menu.c 2005-05-16 15:59:03.000000000 +0200
> +++ menu.c 2005-05-29 18:52:42.000000000 +0200
> @@ -3723,6 +3742,10 @@ eOSState cReplayControl::ProcessKey(eKey
>         case kMarkMoveForward: MarkMove(true); break;
>         case kEditCut:         EditCut(); break;
>         case kEditTest:        EditTest(); break;
> +        case kEditJumpBack|k_Repeat:
> +        case kEditJumpBack:    SkipSeconds(-10); break;
> +        case kEditJumpForward|k_Repeat:
> +        case kEditJumpForward: SkipSeconds( 10); break;
>         default: {
>           displayFrames = DisplayedFrames;
>           switch (Key) {

I modified the above patch as follows, and 'learnt' some extra buttons on my 
remote - BUT IT HASN'T WORKED.  any ideas??????
+#define kEditJumpBack    kUser1
+#define kEditJumpForward kUser2





More information about the vdr mailing list