obs-transitions: Fix compiler warning
Fix unused parameter warning.
This commit is contained in:
parent
c5154cc317
commit
9a8e50a100
@ -61,6 +61,9 @@ static enum gs_color_space
|
||||
cut_video_get_color_space(void *data, size_t count,
|
||||
const enum gs_color_space *preferred_spaces)
|
||||
{
|
||||
UNUSED_PARAMETER(count);
|
||||
UNUSED_PARAMETER(preferred_spaces);
|
||||
|
||||
struct cut_info *const cut = data;
|
||||
return obs_transition_video_get_color_space(cut->source);
|
||||
}
|
||||
|
@ -214,6 +214,9 @@ static enum gs_color_space
|
||||
luma_wipe_video_get_color_space(void *data, size_t count,
|
||||
const enum gs_color_space *preferred_spaces)
|
||||
{
|
||||
UNUSED_PARAMETER(count);
|
||||
UNUSED_PARAMETER(preferred_spaces);
|
||||
|
||||
struct luma_wipe_info *const lwipe = data;
|
||||
return obs_transition_video_get_color_space(lwipe->source);
|
||||
}
|
||||
|
@ -161,6 +161,9 @@ static enum gs_color_space
|
||||
slide_video_get_color_space(void *data, size_t count,
|
||||
const enum gs_color_space *preferred_spaces)
|
||||
{
|
||||
UNUSED_PARAMETER(count);
|
||||
UNUSED_PARAMETER(preferred_spaces);
|
||||
|
||||
struct slide_info *const slide = data;
|
||||
return obs_transition_video_get_color_space(slide->source);
|
||||
}
|
||||
|
@ -157,6 +157,9 @@ static enum gs_color_space
|
||||
swipe_video_get_color_space(void *data, size_t count,
|
||||
const enum gs_color_space *preferred_spaces)
|
||||
{
|
||||
UNUSED_PARAMETER(count);
|
||||
UNUSED_PARAMETER(preferred_spaces);
|
||||
|
||||
struct swipe_info *const swipe = data;
|
||||
return obs_transition_video_get_color_space(swipe->source);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user