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

Unified Diff: media/base/mime_util_internal.h

Issue 1837963004: Make CanPlayType return "probably" for HI10P h264 videos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/base/mime_util_internal.h
diff --git a/media/base/mime_util_internal.h b/media/base/mime_util_internal.h
index 5e06b54fc8b3fbd944e2e99113a5647d2471ad11..e6ff99bd87ccbe4d1bfc3498b39a7cf0d6f9e05a 100644
--- a/media/base/mime_util_internal.h
+++ b/media/base/mime_util_internal.h
@@ -109,9 +109,11 @@ class MEDIA_EXPORT MimeUtil {
// |is_ambiguous| is true if |codec_id| did not have enough information to
// unambiguously determine the proper Codec enum value. If |is_ambiguous|
// is true |codec| contains the best guess for the intended Codec enum value.
+ // |is_encrypted| means the codec will be used with encrypted blocks.
bool StringToCodec(const std::string& codec_id,
Codec* codec,
- bool* is_ambiguous) const;
+ bool* is_ambiguous,
+ bool is_encrypted) const;
// Returns true if |codec| is supported when contained in
// |mime_type_lower_case|. Note: This method will always return false for

Powered by Google App Engine
This is Rietveld 408576698