summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 087172101f..fc4e176d3f 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1954,6 +1954,7 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still)
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 */