| Index: media/gpu/dxva_video_decode_accelerator_win.h
|
| diff --git a/media/gpu/dxva_video_decode_accelerator_win.h b/media/gpu/dxva_video_decode_accelerator_win.h
|
| index dc02f98c95c6a2bcda2f9aaf2126ce3437f6fa6c..6faa21773dd3304d8fe2125534dd239e46596afb 100644
|
| --- a/media/gpu/dxva_video_decode_accelerator_win.h
|
| +++ b/media/gpu/dxva_video_decode_accelerator_win.h
|
| @@ -238,8 +238,9 @@ class MEDIA_GPU_EXPORT DXVAVideoDecodeAccelerator
|
| void StopOnError(VideoDecodeAccelerator::Error error);
|
|
|
| // Transitions the decoder to the uninitialized state. The decoder will stop
|
| - // accepting requests in this state.
|
| - void Invalidate();
|
| + // accepting requests in this state. When invalidating for a config change,
|
| + // only the decoder needs to be destroyed - other things can stick around.
|
| + void Invalidate(bool for_config_change);
|
|
|
| // Stop and join on the decoder thread.
|
| void StopDecoderThread();
|
|
|