[vlc-devel] commit: Debug the timeshift granularity in MB, not Bytes... ( Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Apr 16 17:15:51 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Apr 16 17:14:27 2009 +0200| [a2b79dee1effba0b341af25ad40f242e2db9c6cc] | committer: Jean-Baptiste Kempf 

Debug the timeshift granularity in MB, not Bytes...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a2b79dee1effba0b341af25ad40f242e2db9c6cc
---

 src/input/es_out_timeshift.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/input/es_out_timeshift.c b/src/input/es_out_timeshift.c
index de9ab43..837878e 100644
--- a/src/input/es_out_timeshift.c
+++ b/src/input/es_out_timeshift.c
@@ -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 );




More information about the vlc-devel mailing list