Commit d52f1fb0 authored by Thiago Santini's avatar Thiago Santini

Separates real-time playback from eye video display

parent 0d254e0b
...@@ -596,7 +596,7 @@ void PostProcessingWidget::present(const VideoFrame& videoFrame) ...@@ -596,7 +596,7 @@ void PostProcessingWidget::present(const VideoFrame& videoFrame)
tuple.field.timestamp = videoFrame.t; tuple.field.timestamp = videoFrame.t;
tuple.field.input = videoFrame.frame; tuple.field.input = videoFrame.frame;
if (ui->realTimeCheckBox->isChecked()) { if (ui->showEyesCheckBox->isChecked()) {
tuple.lEye.input = leftEyeVideoSource->getFrameAt(tuple.lEye.timestamp); tuple.lEye.input = leftEyeVideoSource->getFrameAt(tuple.lEye.timestamp);
tuple.rEye.input = rightEyeVideoSource->getFrameAt(tuple.rEye.timestamp); tuple.rEye.input = rightEyeVideoSource->getFrameAt(tuple.rEye.timestamp);
......
...@@ -441,7 +441,7 @@ ...@@ -441,7 +441,7 @@
<item row="3" column="8"> <item row="3" column="8">
<widget class="QCheckBox" name="realTimeCheckBox"> <widget class="QCheckBox" name="realTimeCheckBox">
<property name="text"> <property name="text">
<string>Real time</string> <string>Real Time</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -616,6 +616,13 @@ ...@@ -616,6 +616,13 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="9">
<widget class="QCheckBox" name="showEyesCheckBox">
<property name="text">
<string>Show Eyes</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</widget> </widget>
...@@ -628,7 +635,7 @@ ...@@ -628,7 +635,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>394</width> <width>394</width>
<height>22</height> <height>20</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuOpen"> <widget class="QMenu" name="menuOpen">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment