plugins: Clear warnings about -Wincompatible-pointer-types
Signed-off-by: Shaolin <admshao@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user