[vlc-devel] commit: Incorrect time-offset type in rc module (Dylan Yudaken )
git version control
git at videolan.org
Wed Apr 29 11:36:17 CEST 2009
vlc | branch: master | Dylan Yudaken <dyudaken at gmail.com> | Tue Apr 28 14:25:54 2009 +0200| [087ea0d065eb617260c8ac86035289455e21faef] | committer: Jean-Baptiste Kempf
Incorrect time-offset type in rc module
Modified and Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=087ea0d065eb617260c8ac86035289455e21faef
---
modules/control/rc.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/modules/control/rc.c b/modules/control/rc.c
index dde5d84..1303d21 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -1,7 +1,7 @@
/*****************************************************************************
* rc.c : remote control stdin/stdout module for vlc
*****************************************************************************
- * Copyright (C) 2004-2007 the VideoLAN team
+ * Copyright (C) 2004-2009 the VideoLAN team
* $Id$
*
* Author: Peter Surda <shurdeek at panorama.sth.ac.at>
@@ -25,6 +25,7 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
+
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
@@ -955,8 +956,8 @@ static int TimeOffsetChanged( vlc_object_t *p_this, char const *psz_cmd,
p_input = vlc_object_find( p_intf, VLC_OBJECT_INPUT, FIND_ANYWHERE );
if( p_input )
{
- msg_rc( STATUS_CHANGE "( time-offset: %d )",
- var_GetInteger( p_input, "time-offset" ) );
+ msg_rc( STATUS_CHANGE "( time-offset: %"PRId64"s )",
+ (var_GetTime( p_input, "time-offset" )/1000000) );
vlc_object_release( p_input );
}
vlc_mutex_unlock( &p_intf->p_sys->status_lock );
More information about the vlc-devel
mailing list