Skip to content

Commit

Permalink
Merge pull request #623 from mattatcha/revert-603-patch-1
Browse files Browse the repository at this point in the history
Revert "fix timecode translation"
  • Loading branch information
Palakis committed Feb 4, 2021
2 parents f4d2dbf + dad5e57 commit 9901543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/obs-ndi-source.cpp
Expand Up @@ -378,12 +378,12 @@ void* ndi_source_poll_audio_video(void* data)
switch (s->sync_mode) {
case PROP_SYNC_NDI_TIMESTAMP:
obs_video_frame.timestamp =
(uint64_t)(video_frame.timestamp / 100);
(uint64_t)(video_frame.timestamp * 100);
break;

case PROP_SYNC_NDI_SOURCE_TIMECODE:
obs_video_frame.timestamp =
(uint64_t)(video_frame.timecode / 100);
(uint64_t)(video_frame.timecode * 100);
break;
}

Expand Down

0 comments on commit 9901543

Please sign in to comment.