]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/transrate/transrate.c
Don't clutter REGISTRY on windows...
[vlc] / modules / stream_out / transrate / transrate.c
index 3b0821b8c257b1ced7d38404d383bab41ab6039d..98ce0836b7952dce346e9acd60a416febb8948fb 100644 (file)
@@ -33,7 +33,8 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
 #include <vlc_sout.h>
 #include <vlc_input.h>
 
@@ -57,7 +58,7 @@ static int  transrate_video_process( sout_stream_t *, sout_stream_id_t *, block_
 vlc_module_begin();
     set_category( CAT_SOUT );
     set_subcategory( SUBCAT_SOUT_STREAM );
-    set_description( _("MPEG2 video transrating stream output") );
+    set_description( N_("MPEG2 video transrating stream output") );
     set_capability( "sout stream", 50 );
     add_shortcut( "transrate" );
     set_callbacks( Open, Close );
@@ -108,7 +109,7 @@ static int Open( vlc_object_t *p_this )
         if( p_sys->i_shaping_delay <= 0 )
         {
             msg_Err( p_stream,
-                     "invalid shaping ("I64Fd"ms) reseting to 500ms",
+                     "invalid shaping (%"PRId64"ms) reseting to 500ms",
                      p_sys->i_shaping_delay / 1000 );
             p_sys->i_shaping_delay = 500000;
         }
@@ -120,7 +121,7 @@ static int Open( vlc_object_t *p_this )
         p_sys->b_mpeg4_matrix = 1;
     }
 
-    msg_Dbg( p_stream, "codec video %dkb/s max gop="I64Fd"us",
+    msg_Dbg( p_stream, "codec video %dkb/s max gop=%"PRId64"us",
              p_sys->i_vbitrate / 1024, p_sys->i_shaping_delay );
 
     if( !p_sys->p_out )