libobs/media-io: Add frame copying function

This commit is contained in:
jp9000
2014-12-31 00:29:51 -08:00
parent 5d0551eb27
commit 8e1549820b
2 changed files with 32 additions and 0 deletions

View File

@@ -53,3 +53,7 @@ static inline void video_frame_destroy(struct video_frame *frame)
bfree(frame);
}
}
EXPORT void video_frame_copy(struct video_frame *dst,
const struct video_frame *src, enum video_format format,
uint32_t height);