setup-mplayer.c
branchtrunk
changeset 22 93aaf15c145a
parent 0 474a1293c3c0
child 39 ba6464ebc3f9
equal deleted inserted replaced
21:e47abd1f520f 22:93aaf15c145a
     1 /*
     1 /*
     2  * MP3/MPlayer plugin to VDR (C++)
     2  * MP3/MPlayer plugin to VDR (C++)
     3  *
     3  *
     4  * (C) 2001-2007 Stefan Huelswitt <s.huelswitt@gmx.de>
     4  * (C) 2001-2009 Stefan Huelswitt <s.huelswitt@gmx.de>
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or
     6  * This code is free software; you can redistribute it and/or
     7  * modify it under the terms of the GNU General Public License
     7  * modify it under the terms of the GNU General Public License
     8  * as published by the Free Software Foundation; either version 2
     8  * as published by the Free Software Foundation; either version 2
     9  * of the License, or (at your option) any later version.
     9  * of the License, or (at your option) any later version.
    31 cMPlayerSetup::cMPlayerSetup(void)
    31 cMPlayerSetup::cMPlayerSetup(void)
    32 {
    32 {
    33   SlaveMode = 1;
    33   SlaveMode = 1;
    34   ResumeMode = 2;
    34   ResumeMode = 2;
    35   HideMainMenu = 0;
    35   HideMainMenu = 0;
    36   OsdPos = 0;
       
    37   memset(KeyCmd,0,sizeof(KeyCmd));
    36   memset(KeyCmd,0,sizeof(KeyCmd));
    38   strcpy(KeyCmd[1],"audio_delay +0.1");
    37   strcpy(KeyCmd[1],"audio_delay +0.1");
    39   strcpy(KeyCmd[7],"audio_delay -0.1");
    38   strcpy(KeyCmd[7],"audio_delay -0.1");
    40   strcpy(KeyCmd[4],"switch_audio");
    39   strcpy(KeyCmd[4],"switch_audio");
    41 }
    40 }