# include "config.h"
#endif
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
#include <assert.h>
#include <errno.h>
/* TODO: burst support */
vlc_module_begin ();
- set_shortname (_("Bandwidth"));
- set_description (_("Bandwidth limiter"));
+ set_shortname (N_("Bandwidth"));
+ set_description (N_("Bandwidth limiter"));
set_category (CAT_INPUT);
set_subcategory (SUBCAT_INPUT_ACCESS_FILTER);
set_capability ("access_filter", 0);
set_callbacks (Open, Close);
add_integer ("access-bandwidth", 65536, NULL, BANDWIDTH_TEXT,
- BANDWIDTH_LONGTEXT, VLC_FALSE);
+ BANDWIDTH_LONGTEXT, false);
vlc_module_end();
static ssize_t Read (access_t *access, uint8_t *buffer, size_t len);
if (len > delta)
{
- msg_Dbg (access, "reading %u bytes instead of %u", (unsigned)delta,
+ msg_Dbg (access, "reading %"PRIu64" bytes instead of %zu", delta,
len);
len = (int)delta;
}