Merge pull request #1325 from exeldro/copy-frame
libobs: add obs_source_frame_copy
This commit is contained in:
commit
8dd7024b67
@ -2288,6 +2288,12 @@ static void copy_frame_data(struct obs_source_frame *dst,
|
||||
}
|
||||
}
|
||||
|
||||
void obs_source_frame_copy(struct obs_source_frame *dst,
|
||||
const struct obs_source_frame *src)
|
||||
{
|
||||
copy_frame_data(dst, src);
|
||||
}
|
||||
|
||||
static inline bool async_texture_changed(struct obs_source *source,
|
||||
const struct obs_source_frame *frame)
|
||||
{
|
||||
|
@ -1991,6 +1991,8 @@ static inline void obs_source_frame_destroy(struct obs_source_frame *frame)
|
||||
}
|
||||
}
|
||||
|
||||
EXPORT void obs_source_frame_copy(struct obs_source_frame *dst,
|
||||
const struct obs_source_frame *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user