summaryrefslogtreecommitdiffstats
path: root/src/qtmultimediaquicktools/qsgvideonode_yuv.cpp
diff options
context:
space:
mode:
authorPeng Wu <peng.wu@intopalo.com>2015-04-22 12:42:38 +0300
committerPengWu <peng.wu@intopalo.com>2015-04-23 07:10:28 +0000
commit61033aa420b4d34107e3cc67e8751506bc4ab745 (patch)
tree8ad4312cf41d31a1d20468644b579a67dc87bd8d /src/qtmultimediaquicktools/qsgvideonode_yuv.cpp
parentd44f5734bf945b9b3d57f2bc9c73243343c21518 (diff)
winrt: fix camera sample queue thread safety
Replace sample buffer QVector with C array to avoid reallocations. The resource needs to be protected, so use atomic indexes to prevent writing into the same array element that is being read. Task-number: QTBUG-45667 Change-Id: Ifd30dd128765ea4794fe8614f25ef596bba891ee Reviewed-by: Andrew Knight <qt@panimo.net> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
Diffstat (limited to 'src/qtmultimediaquicktools/qsgvideonode_yuv.cpp')
0 files changed, 0 insertions, 0 deletions