| Index: content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.cc b/content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| index a33bc224b8159e110b9fdcab698aad44a9039899..611433190430d16da1f7679c26896177a2fccde6 100644
|
| --- a/content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/dxva_video_decode_accelerator.cc
|
| @@ -1283,7 +1283,7 @@ void DXVAVideoDecodeAccelerator::DoDecode() {
|
| return;
|
| }
|
| }
|
| - TRACE_EVENT_END_ETW("DXVAVideoDecodeAccelerator.Decoding", this, "");
|
| + TRACE_EVENT_ASYNC_END0("gpu", "DXVAVideoDecodeAccelerator.Decoding", this);
|
|
|
| TRACE_COUNTER1("DXVA Decoding", "TotalPacketsBeforeDecode",
|
| inputs_before_decode_);
|
| @@ -1613,7 +1613,8 @@ void DXVAVideoDecodeAccelerator::DecodeInternal(
|
| }
|
|
|
| if (!inputs_before_decode_) {
|
| - TRACE_EVENT_BEGIN_ETW("DXVAVideoDecodeAccelerator.Decoding", this, "");
|
| + TRACE_EVENT_ASYNC_BEGIN0("gpu", "DXVAVideoDecodeAccelerator.Decoding",
|
| + this);
|
| }
|
| inputs_before_decode_++;
|
|
|
|
|