]> git.sesse.net Git - vlc/commitdiff
Debug the timeshift granularity in MB, not Bytes...
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 16 Apr 2009 15:14:27 +0000 (17:14 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 16 Apr 2009 15:15:30 +0000 (17:15 +0200)
src/input/es_out_timeshift.c

index de9ab43d5a03d76fef76404e00182bdc4fbe7cd9..837878e0a65a6e39f3626a16a86ab34843931aa7 100644 (file)
@@ -331,8 +331,8 @@ es_out_t *input_EsOutTimeshiftNew( input_thread_t *p_input, es_out_t *p_next_out
         p_sys->i_tmp_size_max = 50*1024*1024;
     else
         p_sys->i_tmp_size_max = __MAX( i_tmp_size_max, 1*1024*1024 );
-    msg_Dbg( p_input, "using timeshift granularity of %d bytes",
-             (int)p_sys->i_tmp_size_max );
+    msg_Dbg( p_input, "using timeshift granularity of %d MBytes",
+             (int)p_sys->i_tmp_size_max/(1024*1024) );
 
     char *psz_tmp_path = var_CreateGetNonEmptyString( p_input, "input-timeshift-path" );
     p_sys->psz_tmp_path = GetTmpPath( psz_tmp_path );