summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-06-12 10:41:49 +0000
committerUoti Urpala <uau@mplayer2.org>2011-07-06 13:01:07 +0300
commit9f6ba7a63d52270ea0c82ef7baf9c3694f2c1b45 (patch)
tree92de0c2872e4aa39adea41e69854a8f15e4eeccc /stream
parent63fd6789057f89907dd92a0b8d0bd26fd44aaaf3 (diff)
downloadmpv-9f6ba7a63d52270ea0c82ef7baf9c3694f2c1b45.tar.bz2
mpv-9f6ba7a63d52270ea0c82ef7baf9c3694f2c1b45.tar.xz
cosmetics: cache2.c: Fix comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33600 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/cache2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/cache2.c b/stream/cache2.c
index ee1cf47245..6a8b7c7a70 100644
--- a/stream/cache2.c
+++ b/stream/cache2.c
@@ -581,11 +581,11 @@ int cache_do_control(stream_t *stream, int cmd, void *arg) {
s->control_uint_arg = *(unsigned *)arg;
s->control = cmd;
break;
-// the core might call these every frame, they are too slow for this...
case STREAM_CTRL_GET_TIME_LENGTH:
-// case STREAM_CTRL_GET_CURRENT_TIME:
*(double *)arg = s->stream_time_length;
return s->stream_time_length ? STREAM_OK : STREAM_UNSUPPORTED;
+// the core might call this every frame, but it is too slow for this...
+// case STREAM_CTRL_GET_CURRENT_TIME:
case STREAM_CTRL_GET_NUM_CHAPTERS:
case STREAM_CTRL_GET_CURRENT_CHAPTER:
case STREAM_CTRL_GET_ASPECT_RATIO: