diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-11-06 18:01:52 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-11-06 18:01:52 +0000 |
commit | 4c0cf32f5189473e1efe1538e2d8434d29d1c35d (patch) | |
tree | df5805a6dc009cacab7d816a5dabc52f19ec3669 /mplayer.c | |
parent | 0abc2311feba23ced123ce1795a5ac815f823d8c (diff) | |
download | mpv-4c0cf32f5189473e1efe1538e2d8434d29d1c35d.tar.bz2 mpv-4c0cf32f5189473e1efe1538e2d8434d29d1c35d.tar.xz |
there is no sh_video for audio only files
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16939 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2859,7 +2859,8 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still) case MP_CMD_SEEK : { float v; int abs; - osd_show_percentage = sh_video->fps; + if(sh_video) + osd_show_percentage = sh_video->fps; v = cmd->args[0].v.f; abs = (cmd->nargs > 1) ? cmd->args[1].v.i : 0; if(abs==2) { /* Absolute seek to a specific timestamp in seconds */ |