diff options
Diffstat (limited to 'media/video/capture/win/video_capture_device_mf_win.cc')
-rw-r--r-- | media/video/capture/win/video_capture_device_mf_win.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/media/video/capture/win/video_capture_device_mf_win.cc b/media/video/capture/win/video_capture_device_mf_win.cc index de199c2..f4007fa 100644 --- a/media/video/capture/win/video_capture_device_mf_win.cc +++ b/media/video/capture/win/video_capture_device_mf_win.cc @@ -9,7 +9,6 @@ #include "base/lazy_instance.h" #include "base/memory/ref_counted.h" -#include "base/strings/stringprintf.h" #include "base/strings/sys_string_conversions.h" #include "base/synchronization/waitable_event.h" #include "base/win/scoped_co_mem.h" @@ -433,10 +432,9 @@ void VideoCaptureDeviceMFWin::OnIncomingCapturedFrame( } void VideoCaptureDeviceMFWin::OnError(HRESULT hr) { - std::string log_msg = base::StringPrintf("VideoCaptureDeviceMFWin: %x", hr); - DLOG(ERROR) << log_msg; + DLOG(ERROR) << "VideoCaptureDeviceMFWin: " << std::hex << hr; if (client_.get()) - client_->OnError(log_msg); + client_->OnError(); } } // namespace media |