(API Change) Rename 'source_frame' + related

For the sake of naming consistency with the rest of obs.h, prefix this
structure and associated functions with obs_.

Renamed structures:
- struct source_frame (now obs_source_frame)

Renamed functions:
- source_frame_init (now obs_source_frame_init)
- source_frame_free (now obs_source_frame_free)
- source_frame_create (now obs_source_frame_create)
- source_frame_destroy (now obs_source_frame_destroy)

Affected functions:
- obs_source_output_video
- obs_source_get_frame
- obs_source_release_frame
This commit is contained in:
jp9000
2014-08-02 01:04:45 -07:00
parent 7b402245dc
commit 4122a5b9b5
10 changed files with 72 additions and 66 deletions

View File

@@ -53,7 +53,7 @@ static void *video_thread(void *data)
uint32_t pixels[20*20];
uint64_t cur_time = os_gettime_ns();
struct source_frame frame = {
struct obs_source_frame frame = {
.data = {[0] = (uint8_t*)pixels},
.linesize = {[0] = 20*4},
.width = 20,