]> git.sesse.net Git - vlc/commitdiff
Remnants of I64F.
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 1 May 2008 18:59:07 +0000 (21:59 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 1 May 2008 18:59:07 +0000 (21:59 +0300)
src/input/es_out.c
src/input/stream.c
src/input/vlm.c
src/misc/objects.c

index 500e2bccc5bb63f5d33e6970df8cc0aa9e4d2d05..b6cd646299cad7a439096fabc285d431b59f58bb 100644 (file)
@@ -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;
index 63c810227f192b58acdd738a15d41240d58c32f2..7c32f11705815e2cc962b547ce9f879670c58295 100644 (file)
@@ -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 );
index b53a021acbfe039df1226f0a68af28ee75c46c2d..28162106f42142a5841e074ac89fd613ac165a4c 100644 (file)
@@ -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 );
index dcad8c0b9d2b174d3caf82b924af63eeca84e51b..8caf4d0b5202f03f60ac281b71573e01957df116 100644 (file)
@@ -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 );