mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-04 10:33:30 +00:00
test: Fix unused-parameter warnings in test-input
This commit is contained in:
parent
434bdc1768
commit
af01bea6a0
|
@ -46,6 +46,7 @@ static inline void fill_texture(uint32_t *pixels, uint32_t pixel)
|
|||
|
||||
static void *sync_pair_vid_create(obs_data_t *settings, obs_source_t *source)
|
||||
{
|
||||
UNUSED_PARAMETER(settings);
|
||||
struct sync_pair_vid *spv = bzalloc(sizeof(struct sync_pair_vid));
|
||||
spv->source = source;
|
||||
|
||||
|
@ -83,6 +84,7 @@ static inline bool whitelist_time(uint64_t ts, uint64_t interval,
|
|||
|
||||
static void sync_pair_vid_render(void *data, gs_effect_t *effect)
|
||||
{
|
||||
UNUSED_PARAMETER(effect);
|
||||
struct sync_pair_vid *spv = data;
|
||||
|
||||
uint64_t ts = obs_get_video_frame_time();
|
||||
|
@ -116,6 +118,7 @@ static void sync_pair_vid_render(void *data, gs_effect_t *effect)
|
|||
|
||||
static uint32_t sync_pair_vid_size(void *data)
|
||||
{
|
||||
UNUSED_PARAMETER(data);
|
||||
return 32;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue