invert timestamp_on_capture condition
This commit is contained in:
parent
a0b0f0aa79
commit
6b0f587725
File diff suppressed because one or more lines are too long
|
@ -355,7 +355,7 @@ bool Event::WriteFrameImage( Image *image, struct timeval timestamp, const char
|
||||||
Image* ImgToWrite;
|
Image* ImgToWrite;
|
||||||
Image* ts_image = NULL;
|
Image* ts_image = NULL;
|
||||||
|
|
||||||
if ( config.timestamp_on_capture ) // stash the image we plan to use in another pointer regardless if timestamped.
|
if ( !config.timestamp_on_capture ) // stash the image we plan to use in another pointer regardless if timestamped.
|
||||||
{
|
{
|
||||||
ts_image = new Image(*image);
|
ts_image = new Image(*image);
|
||||||
monitor->TimestampImage( ts_image, ×tamp );
|
monitor->TimestampImage( ts_image, ×tamp );
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue