changeset 8306:a6bcad7b2c51

disabling seek (look the patch)
author pontscho
date Thu, 28 Nov 2002 19:13:14 +0000
parents 4c23944315d6
children ecfe54825314
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Nov 28 19:01:50 2002 +0000
+++ b/mplayer.c	Thu Nov 28 19:13:14 2002 +0000
@@ -1954,6 +1954,7 @@
     switch(cmd->id) {
     case MP_CMD_SEEK : {
       int v,abs;
+      if ( stream->type == STREAMTYPE_STREAM ) break;
       v = cmd->args[0].v.i;
       abs = (cmd->nargs > 1) ? cmd->args[1].v.i : 0;
       if(abs==2) { /* Absolute seek to a specific timestamp in seconds */