Skip to content

Commit f101a68

Browse files
authored
Mac qt6.5 fix (#532)
* Finalize SerialPrograms Cmake Target Added cmake fix for MacOS * QT6.5 Backend Workaround Workaround for MacOS involving QVideoFrames * Check duplicated frames only when valid
1 parent 15dddde commit f101a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SerialPrograms/Source/CommonFramework/VideoPipeline/Backends/CameraWidgetQt6.5.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ void CameraSession::connect_video_sink(QVideoSink* sink){
275275
WriteSpinLock lg(m_frame_lock);
276276

277277
// Skip duplicate frames.
278-
if (frame.startTime() <= m_last_frame.startTime()){
278+
if (frame.startTime() != -1 && frame.startTime() <= m_last_frame.startTime()){
279279
return;
280280
}
281281

0 commit comments

Comments
 (0)