Skip to content
Snippets Groups Projects
Commit 3206a9d1 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

increase logger buffer size for windows 10 from 2048 to 4096

Change-Id: Id22d4c022678aa219ca001fb6ede950bb1d9e67d
parent 6106940c
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ getHeader(const char* ctx)
// Context
if (ctx)
out << "|" << std::setw(24) << ctx;
out << "|" << std::setw(32) << ctx;
out << "] ";
......@@ -211,7 +211,7 @@ vlogger(const int level, const char *format, va_list ap)
format = sep + 2;
fputs(getHeader(ctx.c_str()).c_str(), stderr);
#ifdef WIN32_NATIVE
char tmp[2048];
char tmp[4096];
vsprintf(tmp, format, ap);
ring::emitSignal<DRing::Debug::MessageSend>(getHeader(ctx.c_str()).c_str() + std::string(tmp));
#endif
......
......@@ -46,10 +46,10 @@ typedef struct {
// have all formats map to bgra
static const std::array<uwp_fmt, 4> uwp_formats {
uwp_fmt { "NV12", VIDEO_PIXFMT_BGRA },
uwp_fmt { "MJPG", VIDEO_PIXFMT_BGRA },
uwp_fmt { "RGB24", VIDEO_PIXFMT_BGRA },
uwp_fmt { "YUY2", VIDEO_PIXFMT_BGRA },
uwp_fmt { "NV12", VIDEO_PIXFMT_BGRA },
uwp_fmt { "YUY2", VIDEO_PIXFMT_BGRA }
};
class VideoDeviceImpl {
......
......@@ -94,7 +94,6 @@ VideoDeviceMonitorImpl::~VideoDeviceMonitorImpl()
void
VideoDeviceMonitorImpl::run()
{
RING_DBG("VideoDeviceMonitorImpl::run");
}
VideoDeviceMonitor::VideoDeviceMonitor()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment