Skip to content

Commit 768cc8a

Browse files
committed
DeckLink disp sync: debug print sample count
now icorrectly working: ``` uv -r embedded -t testcard:mode=Hp24 -s embedded -A AAC -d decklink:sync ```` (clicking) Refers to CESNETGH-345 - sample count was actually not the issue here, streamTime is incorrect, but to ensure it is valid.
1 parent ae5ac7b commit 768cc8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/video_display/decklink.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1604,7 +1604,8 @@ void PlaybackDelegate::ScheduleAudio(const struct audio_frame *frame,
16041604
bmdAudioSampleRate48kHz / 90000;
16051605

16061606
LOG(LOG_LEVEL_DEBUG) << MOD_NAME << "streamTime: " << streamTime
1607-
<< "; timestamp: " << frame->timestamp
1607+
<< "; samples: " << *samples
1608+
<< "; RTP timestamp: " << frame->timestamp
16081609
<< "; sync TS: " << m_audio_sync_ts << "\n";
16091610
const HRESULT res = m_deckLinkOutput->ScheduleAudioSamples(
16101611
frame->data, *samples, streamTime, bmdAudioSampleRate48kHz,

0 commit comments

Comments
 (0)