[MPlayer-cvslog] r33600 - trunk/stream/cache2.c

reimar subversion at mplayerhq.hu
Sun Jun 12 12:41:49 CEST 2011


Author: reimar
Date: Sun Jun 12 12:41:49 2011
New Revision: 33600

Log:
Fix comment and placement of out-commented code.

Modified:
   trunk/stream/cache2.c

Modified: trunk/stream/cache2.c
==============================================================================
--- trunk/stream/cache2.c	Sun Jun 12 11:57:07 2011	(r33599)
+++ trunk/stream/cache2.c	Sun Jun 12 12:41:49 2011	(r33600)
@@ -583,11 +583,11 @@ int cache_do_control(stream_t *stream, i
       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:


More information about the MPlayer-cvslog mailing list