change default useOrigTiming and status update interval of CAN playback

This commit is contained in:
Leopixelo
2026-06-08 15:10:58 +02:00
parent 6b06ceacb5
commit be077c52fb
2 changed files with 11 additions and 2 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ FramePlaybackObject::FramePlaybackObject()
numBuses = 0; numBuses = 0;
playbackActive = false; playbackActive = false;
playbackForward = true; playbackForward = true;
useOrigTiming = false; useOrigTiming = true;
whichBusSend = 0; whichBusSend = 0;
currentSeqItem = nullptr; currentSeqItem = nullptr;
} }
@@ -395,7 +395,7 @@ void FramePlaybackObject::timerTriggered()
statusCounter += playbackInterval; statusCounter += playbackInterval;
} }
if (statusCounter > 249) if (statusCounter > 100)
{ {
statusCounter = 0; statusCounter = 0;
emit statusUpdate(currentPosition); emit statusUpdate(currentPosition);
+9
View File
@@ -105,6 +105,9 @@
<property name="text"> <property name="text">
<string>Use original frame timing from captured frames</string> <string>Use original frame timing from captured frames</string>
</property> </property>
<property name="checked">
<bool>true</bool>
</property>
</widget> </widget>
</item> </item>
<item> <item>
@@ -136,6 +139,9 @@
<property name="value"> <property name="value">
<number>5</number> <number>5</number>
</property> </property>
<property name="enabled">
<bool>false</bool>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>
@@ -160,6 +166,9 @@
<property name="value"> <property name="value">
<number>1</number> <number>1</number>
</property> </property>
<property name="enabled">
<bool>false</bool>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>