Skip to content

Commit 0ad76a6

Browse files
committed
QT6.5 Backend Workaround
Workaround for MacOS involving QVideoFrames
1 parent e769116 commit 0ad76a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,11 @@ void CameraSession::connect_video_sink(QVideoSink* sink){
275275
WriteSpinLock lg(m_frame_lock);
276276

277277
// Skip duplicate frames.
278+
#ifndef __APPLE__
278279
if (frame.startTime() <= m_last_frame.startTime()){
279280
return;
280281
}
282+
#endif
281283

282284
m_last_frame = frame;
283285
m_last_frame_timestamp = now;

0 commit comments

Comments
 (0)