Skip to content

Commit

Permalink
Allow framerates lower than 60 fps
Browse files Browse the repository at this point in the history
  • Loading branch information
ravi688 committed Mar 16, 2024
1 parent 3e43d93 commit d9e2465
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/HDMIEncodeNetStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ namespace SKVMOIP
std::pair<u32, u32> frameSize = m_hdmiStream->getOutputFrameSize();
std::pair<u32, u32> frameRatePair = m_hdmiStream->getInputFrameRate();
_assert((frameSize.first == 1920) && (frameSize.second == 1080));
_assert((frameRatePair.first == 60) && (frameRatePair.second == 1));
/* For just one Kreo HDMI capture device, this assertion is not true. But Why? */
_ASSERT_WRN((frameRatePair.first == 60) && (frameRatePair.second == 1));
u32 frameRate = m_hdmiStream->getInputFrameRateF32();

m_nv12Buffer = buf_create(sizeof(u8), (frameSize.first * frameSize.second * 3) >> 1, 0);
Expand Down

0 comments on commit d9e2465

Please sign in to comment.