timestamp image before scaling. Fixes lack of scaling when TIMESTAMP_ON_CAPTURE
is off
This commit is contained in:
parent
a577c3fe79
commit
15b01c2730
|
@ -378,8 +378,9 @@ bool MonitorStream::sendFrame(const char *filepath, const timeval ×tamp) {
|
||||||
} // end bool MonitorStream::sendFrame(const char *filepath, struct timeval *timestamp)
|
} // end bool MonitorStream::sendFrame(const char *filepath, struct timeval *timestamp)
|
||||||
|
|
||||||
bool MonitorStream::sendFrame(Image *image, const timeval ×tamp) {
|
bool MonitorStream::sendFrame(Image *image, const timeval ×tamp) {
|
||||||
if (!config.timestamp_on_capture)
|
if (!config.timestamp_on_capture) {
|
||||||
monitor->TimestampImage(image, timestamp);
|
monitor->TimestampImage(image, timestamp);
|
||||||
|
}
|
||||||
Image *send_image = prepareImage(image);
|
Image *send_image = prepareImage(image);
|
||||||
|
|
||||||
fputs("--" BOUNDARY "\r\n", stdout);
|
fputs("--" BOUNDARY "\r\n", stdout);
|
||||||
|
|
Loading…
Reference in New Issue