diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-12 17:19:56 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-12 17:19:56 +0000 |
commit | 6e28f63e36321ad554646b9598f2b1f258620b84 (patch) | |
tree | be9a189de2782508013242fa38554493976351e2 /stream/stream_dvdnav.c | |
parent | 72023719ba723203df4d07b979ea6c476524e187 (diff) | |
download | mpv-6e28f63e36321ad554646b9598f2b1f258620b84.tar.bz2 mpv-6e28f63e36321ad554646b9598f2b1f258620b84.tar.xz |
consistency fix: STREAM_CTRL_GET_TIME_LENGTH and STREAM_CTRL_GET_CURRENT_TIME now return time in (double) seconds
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20867 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r-- | stream/stream_dvdnav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index 4d2f2686b5..57e2de633c 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -279,7 +279,7 @@ static int control(stream_t *stream, int cmd, void* arg) { { if(priv->duration) { - *((unsigned int *)arg) = priv->duration; + *((double *)arg) = (double)priv->duration / 1000.0; return 1; } break; |