summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-05-25 08:59:02 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-06-01 17:47:23 +0200
commit0c899948ff1dd684f68be8532c383fd8d3133c83 (patch)
tree5c637f179223b55dd0145b0b857a33e2860de96d
parent8d9095c7d1ec3a39fd338fe8e5f073dcb5fead46 (diff)
tracker/aruco: allow using the 1080p resolution
-rw-r--r--tracker-aruco/aruco-trackercontrols.ui5
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp1
-rw-r--r--tracker-aruco/lang/nl_NL.ts4
-rw-r--r--tracker-aruco/lang/ru_RU.ts4
-rw-r--r--tracker-aruco/lang/stub.ts4
-rw-r--r--tracker-aruco/lang/zh_CN.ts4
6 files changed, 22 insertions, 0 deletions
diff --git a/tracker-aruco/aruco-trackercontrols.ui b/tracker-aruco/aruco-trackercontrols.ui
index 0cd76b89..729d4b48 100644
--- a/tracker-aruco/aruco-trackercontrols.ui
+++ b/tracker-aruco/aruco-trackercontrols.ui
@@ -139,6 +139,11 @@
</item>
<item>
<property name="text">
+ <string>1920x1080</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
<string>Default (not recommended!)</string>
</property>
</item>
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index 1f39db32..5130a889 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -57,6 +57,7 @@ static const resolution_tuple resolution_choices[] =
{ 640, 480 },
{ 320, 240 },
{ 1280, 720 },
+ { 1920, 1080 },
{ 0, 0 }
};
diff --git a/tracker-aruco/lang/nl_NL.ts b/tracker-aruco/lang/nl_NL.ts
index 1a510ac1..e5a94f3b 100644
--- a/tracker-aruco/lang/nl_NL.ts
+++ b/tracker-aruco/lang/nl_NL.ts
@@ -67,6 +67,10 @@
<source>MJPEG</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>1920x1080</source>
+ <translation type="unfinished">1280x1080 {1920x?}</translation>
+ </message>
</context>
<context>
<name>aruco_dialog</name>
diff --git a/tracker-aruco/lang/ru_RU.ts b/tracker-aruco/lang/ru_RU.ts
index 3e0aa86a..639b59ce 100644
--- a/tracker-aruco/lang/ru_RU.ts
+++ b/tracker-aruco/lang/ru_RU.ts
@@ -67,6 +67,10 @@
<source>MJPEG</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>1920x1080</source>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>aruco_dialog</name>
diff --git a/tracker-aruco/lang/stub.ts b/tracker-aruco/lang/stub.ts
index bbd78995..f213eb41 100644
--- a/tracker-aruco/lang/stub.ts
+++ b/tracker-aruco/lang/stub.ts
@@ -67,6 +67,10 @@
<source>MJPEG</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>1920x1080</source>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>aruco_dialog</name>
diff --git a/tracker-aruco/lang/zh_CN.ts b/tracker-aruco/lang/zh_CN.ts
index 71fa163c..8c4e5511 100644
--- a/tracker-aruco/lang/zh_CN.ts
+++ b/tracker-aruco/lang/zh_CN.ts
@@ -67,6 +67,10 @@
<source>MJPEG</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>1920x1080</source>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>aruco_dialog</name>