| Index: content/common/gpu/media/dxva_video_decode_accelerator.h
|
| ===================================================================
|
| --- content/common/gpu/media/dxva_video_decode_accelerator.h (revision 132251)
|
| +++ content/common/gpu/media/dxva_video_decode_accelerator.h (working copy)
|
| @@ -39,8 +39,9 @@
|
| };
|
|
|
| // Does not take ownership of |client| which must outlive |*this|.
|
| - explicit DXVAVideoDecodeAccelerator(
|
| - media::VideoDecodeAccelerator::Client* client);
|
| + DXVAVideoDecodeAccelerator(
|
| + media::VideoDecodeAccelerator::Client* client,
|
| + base::ProcessHandle renderer_process);
|
| virtual ~DXVAVideoDecodeAccelerator();
|
|
|
| // media::VideoDecodeAccelerator implementation.
|
| @@ -186,6 +187,9 @@
|
| // Contains the id of the last input buffer received from the client.
|
| int32 last_input_buffer_id_;
|
|
|
| + // Handle to the renderer process.
|
| + base::ProcessHandle renderer_process_;
|
| +
|
| // Ideally the reset token would be a stack variable which is used while
|
| // creating the device manager. However it seems that the device manager
|
| // holds onto the token and attempts to access it if the underlying device
|
|
|