linux-v4l2: Selective stream restart

This commit adds a basic check to see if the v4l2 stream requires a
restart. This is primarly implemented on the basis of the fact that
the options requiring a restart have values stored in the v4l2_data
structure. A restart is only needed if any of the values have changed
since the last update.
This commit is contained in:
Ioan Loosley
2020-05-24 17:05:00 +01:00
parent 0cb0fd7522
commit 8814e2bf4c
3 changed files with 90 additions and 7 deletions
+3
View File
@@ -27,6 +27,7 @@
#clion
.idea/
cmake-build-debug/
#other stuff (windows stuff, qt moc stuff, etc)
Release_MD/
@@ -39,6 +40,8 @@ GeneratedFiles/
/UI/obs.rc
.vscode/
/other/
#make stuff