Mercurial > mplayer.hg
diff input/input.c @ 17241:3ab613cdf96a
add "pausing_keep" and "pausing_toggle" input cmd prefixes
| author | ods15 |
|---|---|
| date | Sun, 25 Dec 2005 19:22:48 +0000 |
| parents | 62d979592493 |
| children | 4ed5dece9d09 |
line wrap: on
line diff
--- a/input/input.c Sun Dec 25 18:26:35 2005 +0000 +++ b/input/input.c Sun Dec 25 19:22:48 2005 +0000 @@ -600,6 +600,12 @@ if (strncmp(str, "pausing ", 8) == 0) { pausing = 1; str = &str[8]; + } else if (strncmp(str, "pausing_keep ", 13) == 0) { + pausing = 2; + str = &str[13]; + } else if (strncmp(str, "pausing_toggle ", 15) == 0) { + pausing = 3; + str = &str[15]; } for(ptr = str ; ptr[0] != '\0' && ptr[0] != '\t' && ptr[0] != ' ' ; ptr++)
