Only init camera if capturing
This commit is contained in:
parent
381b7e1b25
commit
099ca9251c
|
@ -676,7 +676,7 @@ LocalCamera::LocalCamera(
|
||||||
imgConversionContext = nullptr;
|
imgConversionContext = nullptr;
|
||||||
} // end if capture and conversion_tye == swscale
|
} // end if capture and conversion_tye == swscale
|
||||||
#endif
|
#endif
|
||||||
if ( device_prime )
|
if ( capture and device_prime )
|
||||||
Initialise();
|
Initialise();
|
||||||
} // end LocalCamera::LocalCamera
|
} // end LocalCamera::LocalCamera
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue