Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Unified Diff: media/gpu/dxva_video_decode_accelerator_win.h

Issue 2923913003: Invalidate DXVA IMFTransform on Flush()
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/gpu/dxva_video_decode_accelerator_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | media/gpu/dxva_video_decode_accelerator_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698