Merge pull request #1325 from exeldro/copy-frame

libobs: add obs_source_frame_copy
This commit is contained in:
Jim authored and GitHub committed 2018-06-18 21:31:00 -07:00
commit 8dd7024b67
2 files changed
+8

No files matched your search

+6
View File
@@ -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)
{
+2
View File
@@ -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
}