plugins: Clear warnings about -Wincompatible-pointer-types

Signed-off-by: Shaolin <admshao@gmail.com>
This commit is contained in:
Shaolin
2017-06-01 05:25:55 -03:00
parent daee6e0759
commit cfcb2f4f39
3 changed files with 4 additions and 6 deletions

View File

@@ -335,7 +335,7 @@ static const char *ffmpeg_source_getname(void *unused)
return obs_module_text("FFMpegSource");
}
static bool restart_hotkey(void *data, obs_hotkey_id id,
static void restart_hotkey(void *data, obs_hotkey_id id,
obs_hotkey_t *hotkey, bool pressed)
{
UNUSED_PARAMETER(id);
@@ -345,7 +345,6 @@ static bool restart_hotkey(void *data, obs_hotkey_id id,
struct ffmpeg_source *s = data;
if (obs_source_active(s->source))
ffmpeg_source_start(s);
return true;
}
static void restart_proc(void *data, calldata_t *cd)