summaryrefslogtreecommitdiffhomepage
path: root/video
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2025-04-25 08:01:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2025-05-16 08:54:13 +0200
commit78f8c6c81c2e900aa1cb433940667a054cc0b6ed (patch)
treeb03c5c96e1d45645a5528d2007f343f21bd46f48 /video
parent1f737463587fec21337631bc0320718b49fde26c (diff)
buffer flush
Diffstat (limited to 'video')
-rw-r--r--video/video-widget.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/video-widget.hpp b/video/video-widget.hpp
index 4f54b2b96..d70ee4439 100644
--- a/video/video-widget.hpp
+++ b/video/video-widget.hpp
@@ -18,7 +18,7 @@
#include <QImage>
#include <QTimer>
-#include <QMutex>
+#include <QRecursiveMutex>
struct OTR_VIDEO_EXPORT video_widget : QWidget
{
@@ -32,7 +32,7 @@ struct OTR_VIDEO_EXPORT video_widget : QWidget
bool fresh() const;
protected:
- mutable QMutex mtx { QMutex::NonRecursive };
+ mutable QRecursiveMutex mtx;
QImage texture;
std::vector<unsigned char> vec;
void set_fresh(bool x);