OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "media/capture/video/win/video_capture_device_mf_win.h" | 5 #include "media/capture/video/win/video_capture_device_mf_win.h" |
6 | 6 |
7 #include <mfapi.h> | 7 #include <mfapi.h> |
8 #include <mferror.h> | 8 #include <mferror.h> |
| 9 #include <stddef.h> |
9 | 10 |
10 #include "base/location.h" | 11 #include "base/location.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
13 #include "base/strings/sys_string_conversions.h" | 14 #include "base/strings/sys_string_conversions.h" |
14 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
15 #include "base/win/scoped_co_mem.h" | 16 #include "base/win/scoped_co_mem.h" |
16 #include "base/win/windows_version.h" | 17 #include "base/win/windows_version.h" |
17 #include "media/capture/video/win/capability_list_win.h" | 18 #include "media/capture/video/win/capability_list_win.h" |
18 | 19 |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 HRESULT hr) { | 323 HRESULT hr) { |
323 if (client_.get()) { | 324 if (client_.get()) { |
324 client_->OnError( | 325 client_->OnError( |
325 from_here, | 326 from_here, |
326 base::StringPrintf("VideoCaptureDeviceMFWin: %s", | 327 base::StringPrintf("VideoCaptureDeviceMFWin: %s", |
327 logging::SystemErrorCodeToString(hr).c_str())); | 328 logging::SystemErrorCodeToString(hr).c_str())); |
328 } | 329 } |
329 } | 330 } |
330 | 331 |
331 } // namespace media | 332 } // namespace media |
OLD | NEW |