Browse Source

obs-ffmpeg: Fix compiler warnings

juvester 8 years ago
parent
commit
133f8c311e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      plugins/obs-ffmpeg/obs-ffmpeg-mux.c

+ 4 - 0
plugins/obs-ffmpeg/obs-ffmpeg-mux.c

@@ -485,6 +485,10 @@ static const char *replay_buffer_getname(void *type)
 static bool replay_buffer_hotkey(void *data, obs_hotkey_id id,
 static bool replay_buffer_hotkey(void *data, obs_hotkey_id id,
 		obs_hotkey_t *hotkey, bool pressed)
 		obs_hotkey_t *hotkey, bool pressed)
 {
 {
+	UNUSED_PARAMETER(id);
+	UNUSED_PARAMETER(hotkey);
+	UNUSED_PARAMETER(pressed);
+
 	struct ffmpeg_muxer *stream = data;
 	struct ffmpeg_muxer *stream = data;
 	if (os_atomic_load_bool(&stream->active))
 	if (os_atomic_load_bool(&stream->active))
 		stream->save_ts = os_gettime_ns() / 1000LL;
 		stream->save_ts = os_gettime_ns() / 1000LL;