use struct member width_set/height_set to replace static width/height.
authorTeng Yiliang <ylteng@outlook.com>
Thu, 19 Jul 2018 08:40:27 +0000 (16:40 +0800)
committerTeng Yiliang <yiliang.teng@weimob.com>
Fri, 20 Jul 2018 23:27:17 +0000 (07:27 +0800)
commitdadde75ef02ed82ea4941aca23a7046d9048d45e
tree0c7571910784a1cc30956aa97abdf07cbd0bbfc6
parent05f0cb16deaac0271e0abc8e5588983b92c2ef7f
use struct member width_set/height_set to replace static width/height.

the static variables will cause race-condition when operating in
multithread scenarios.

Signed-off-by: Teng Yiliang <ylteng@outlook.com>
Signed-off-by: Teng Yiliang <yiliang.teng@weimob.com>
modules/videoio/src/cap_v4l.cpp