diff --git a/src/logger.cpp b/src/logger.cpp index ac8859494377f4cb7e162053baf5643c50fcffdd..67e40c18a80f69d0f9b5085451d39fd303a75a29 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -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 diff --git a/src/media/video/uwpvideo/video_device_impl.cpp b/src/media/video/uwpvideo/video_device_impl.cpp index 88370c11eb2869fe1584834f229c6479bb9b09ea..7e803e67cedb164a83cb9ed9b9a7ae044bbdc7fe 100644 --- a/src/media/video/uwpvideo/video_device_impl.cpp +++ b/src/media/video/uwpvideo/video_device_impl.cpp @@ -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 { diff --git a/src/media/video/uwpvideo/video_device_monitor_impl.cpp b/src/media/video/uwpvideo/video_device_monitor_impl.cpp index ad93a44513205e41673884ddb0686e640054f16c..46374e44d7aa5daddc844e41c5a8b82ad3fa5e53 100644 --- a/src/media/video/uwpvideo/video_device_monitor_impl.cpp +++ b/src/media/video/uwpvideo/video_device_monitor_impl.cpp @@ -94,7 +94,6 @@ VideoDeviceMonitorImpl::~VideoDeviceMonitorImpl() void VideoDeviceMonitorImpl::run() { - RING_DBG("VideoDeviceMonitorImpl::run"); } VideoDeviceMonitor::VideoDeviceMonitor()