changeset 33512:2d1fa588834a

Fix comment and placement of out-commented code.
author reimar
date Sun, 12 Jun 2011 10:41:49 +0000
parents d30b183c3fdc
children 65e6c1de4afa
files stream/cache2.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stream/cache2.c	Sun Jun 12 09:57:07 2011 +0000
+++ b/stream/cache2.c	Sun Jun 12 10:41:49 2011 +0000
@@ -583,11 +583,11 @@
       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: