Commit 087ea0d0 authored by Dylan Yudaken's avatar Dylan Yudaken Committed by Jean-Baptiste Kempf

Incorrect time-offset type in rc module

Modified and Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
parent 569095f0
/***************************************************************************** /*****************************************************************************
* rc.c : remote control stdin/stdout module for vlc * rc.c : remote control stdin/stdout module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2004-2007 the VideoLAN team * Copyright (C) 2004-2009 the VideoLAN team
* $Id$ * $Id$
* *
* Author: Peter Surda <shurdeek@panorama.sth.ac.at> * Author: Peter Surda <shurdeek@panorama.sth.ac.at>
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include "config.h" # include "config.h"
#endif #endif
...@@ -955,8 +956,8 @@ static int TimeOffsetChanged( vlc_object_t *p_this, char const *psz_cmd, ...@@ -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 ); p_input = vlc_object_find( p_intf, VLC_OBJECT_INPUT, FIND_ANYWHERE );
if( p_input ) if( p_input )
{ {
msg_rc( STATUS_CHANGE "( time-offset: %d )", msg_rc( STATUS_CHANGE "( time-offset: %"PRId64"s )",
var_GetInteger( p_input, "time-offset" ) ); (var_GetTime( p_input, "time-offset" )/1000000) );
vlc_object_release( p_input ); vlc_object_release( p_input );
} }
vlc_mutex_unlock( &p_intf->p_sys->status_lock ); vlc_mutex_unlock( &p_intf->p_sys->status_lock );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment