Reinitialize the video encoder in addition to the capturing device
This commit is contained in:
parent
94181fd047
commit
3ceb9b37a0
7 changed files with 310 additions and 130 deletions
|
|
@ -46,6 +46,15 @@ public:
|
|||
return *this;
|
||||
}
|
||||
|
||||
template<class V>
|
||||
sync_t &operator=(V &&val) {
|
||||
auto lg = lock();
|
||||
|
||||
raw = val;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
sync_t &operator=(const value_t &val) noexcept {
|
||||
auto lg = lock();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue