disabling seek (look the patch)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8307 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2002-11-28 19:13:14 +00:00
parent 41565580b5
commit 9590c19bbb
1 changed files with 1 additions and 0 deletions

View File

@ -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 */