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

Unified Diff: media/filters/gpu_video_decoder.h

Issue 1820553002: Expose encrypted_only attribute on VDA supported profiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix logs. Created 4 years, 9 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
Index: media/filters/gpu_video_decoder.h
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
index c61568488ec764523bccf1a9dd1ab1139f77a7eb..3e6c0cac4a64c621fea28cc2e23ad523cbdecc15 100644
--- a/media/filters/gpu_video_decoder.h
+++ b/media/filters/gpu_video_decoder.h
@@ -142,11 +142,12 @@ class MEDIA_EXPORT GpuVideoDecoder
void DestroyPictureBuffers(PictureBufferMap* buffers);
// Returns true if the video decoder with |capabilities| can support
- // |profile| and |coded_size|.
+ // |profile|, |coded_size|, and |is_encrypted|.
bool IsProfileSupported(
const VideoDecodeAccelerator::Capabilities& capabilities,
VideoCodecProfile profile,
- const gfx::Size& coded_size);
+ const gfx::Size& coded_size,
+ bool is_encrypted);
// Assert the contract that this class is operated on the right thread.
void DCheckGpuVideoAcceleratorFactoriesTaskRunnerIsCurrent() const;

Powered by Google App Engine
This is Rietveld 408576698