[vlc-devel] commit: Remnants of I64F. ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu May 1 21:10:47 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu May 1 21:59:07 2008 +0300| [2e48e65740b878f69c1fea62fcfd44ef1dafd81d]
Remnants of I64F.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e48e65740b878f69c1fea62fcfd44ef1dafd81d
---
src/input/es_out.c | 2 +-
src/input/stream.c | 6 +++---
src/input/vlm.c | 4 ++--
src/misc/objects.c | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 500e2bc..b6cd646 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2090,7 +2090,7 @@ static void EsOutAddInfo( es_out_t *out, es_out_id_t *es )
fmt->video.i_frame_rate_base * 1000000,
1000000 );
input_Control( p_input, INPUT_ADD_INFO, psz_cat,
- _("Frame rate"), I64Fd".%06u",
+ _("Frame rate"), "%"PRId64".%06u",
div.quot, (unsigned int )div.rem );
}
break;
diff --git a/src/input/stream.c b/src/input/stream.c
index 63c8102..7c32f11 100644
--- a/src/input/stream.c
+++ b/src/input/stream.c
@@ -635,7 +635,7 @@ static void AStreamPrebufferBlock( stream_t *s )
(p_sys->stat.i_read_time + 1);
msg_Dbg( s, "prebuffering done %"PRId64" bytes in %"PRId64"s - "
- I64Fd" kbytes/s",
+ "%"PRId64" kbytes/s",
p_sys->stat.i_bytes,
p_sys->stat.i_read_time / I64C(1000000),
i_byterate / 1024 );
@@ -860,7 +860,7 @@ static int AStreamSeekBlock( stream_t *s, int64_t i_pos )
if( !b_aseek )
{
b_seek = false;
- msg_Warn( s, I64Fd" bytes need to be skipped "
+ msg_Warn( s, "%"PRId64" bytes need to be skipped "
"(access non seekable)",
i_offset - p_sys->block.i_size );
}
@@ -1380,7 +1380,7 @@ static void AStreamPrebufferStream( stream_t *s )
(p_sys->stat.i_read_time+1);
msg_Dbg( s, "pre-buffering done %"PRId64" bytes in %"PRId64"s - "
- I64Fd" kbytes/s",
+ "%"PRId64" kbytes/s",
p_sys->stat.i_bytes,
p_sys->stat.i_read_time / I64C(1000000),
i_byterate / 1024 );
diff --git a/src/input/vlm.c b/src/input/vlm.c
index b53a021..2816210 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -1484,8 +1484,8 @@ static vlm_message_t *vlm_ShowMedia( vlm_media_sys_t *p_media )
vlm_MessageAdd( p_msg_instance, vlm_MessageNew( a, psz_tmp ) ); \
free( psz_tmp );
APPEND_INPUT_INFO( "position", "%f", Float );
- APPEND_INPUT_INFO( "time", I64Fi, Time );
- APPEND_INPUT_INFO( "length", I64Fi, Time );
+ APPEND_INPUT_INFO( "time", "%"PRIi64, Time );
+ APPEND_INPUT_INFO( "length", "%"PRIi64, Time );
APPEND_INPUT_INFO( "rate", "%d", Integer );
APPEND_INPUT_INFO( "title", "%d", Integer );
APPEND_INPUT_INFO( "chapter", "%d", Integer );
diff --git a/src/misc/objects.c b/src/misc/objects.c
index dcad8c0..8caf4d0 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -1208,7 +1208,7 @@ static int DumpCommand( vlc_object_t *p_this, char const *psz_cmd,
printf( ": %f", p_var->val.f_float );
break;
case VLC_VAR_TIME:
- printf( ": " I64Fi, (int64_t)p_var->val.i_time );
+ printf( ": %"PRIi64, (int64_t)p_var->val.i_time );
break;
case VLC_VAR_ADDRESS:
printf( ": %p", p_var->val.p_address );
More information about the vlc-devel
mailing list