Skip to content

Commit

Permalink
vdisp/multiplier: Copy frame metadata
Browse files Browse the repository at this point in the history
The metadate is useful in some cases like the decklink synchronized
mode. Fixes GH-419
  • Loading branch information
mpiatka committed Oct 9, 2024
1 parent 36c47a6 commit 6475aa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video_display/multiplier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ static void display_multiplier_worker(void *state)
for (auto& disp : s->displays) {
struct video_frame *real_display_frame = display_get_frame(disp.get());
memcpy(real_display_frame->tiles[0].data, frame->tiles[0].data, frame->tiles[0].data_len);
memcpy(&real_display_frame->VF_METADATA_START, &frame->VF_METADATA_START, VF_METADATA_SIZE);
display_put_frame(disp.get(), real_display_frame, PUTF_BLOCKING);
}

Expand Down

0 comments on commit 6475aa7

Please sign in to comment.