mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
libobs: add obs_source_frame_copy
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user