]> git.sesse.net Git - casparcg/commit
Use ScheduledFrameCompleted callback for audio scheduling in addition to video schedu...
authorHelge Norberg <helge.norberg@svt.se>
Mon, 11 Jul 2016 18:41:17 +0000 (20:41 +0200)
committerHelge Norberg <helge.norberg@svt.se>
Mon, 11 Jul 2016 18:41:17 +0000 (20:41 +0200)
commit850c2bc019012444a7081e0347da9d7d24b213b4
tree7edab78fa9761914fbd17c2cc52ee4cb64f19944
parent8cb3ec02aa4f6c6d82215e3b29e4c32e904d8ee0
Use ScheduledFrameCompleted callback for audio scheduling in addition to video scheduling instead of using the audio callback. This is completely legal according to Blackmagic and simplifies the code a lot. This could also fix #440, #114 and #329 because one more audio frame is scheduled in relation to video instead of one more of both (as indicated by the old mail from Blackmagic about prerolling).
modules/decklink/consumer/decklink_consumer.cpp