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

Unified Diff: media/base/android/media_codec_util.h

Issue 2095053003: Merge M52: "When HLS redirects are encountered recreate WebMediaPlayer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 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 | « content/renderer/media/webmediaplayer_ms_unittest.cc ('k') | media/base/android/media_codec_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_codec_util.h
diff --git a/media/base/android/media_codec_util.h b/media/base/android/media_codec_util.h
index e1fcb1844b42b9669f8e988680ca7aea593daab7..6dfd13c825a53753d778a830b56936a3766a39fe 100644
--- a/media/base/android/media_codec_util.h
+++ b/media/base/android/media_codec_util.h
@@ -66,11 +66,11 @@ class MEDIA_EXPORT MediaCodecUtil {
static bool IsKnownUnaccelerated(const std::string& mime_type,
MediaCodecDirection direction);
- // Test whether the path of a URL ends with ".m3u8".
- static bool IsHLSURL(const GURL& url);
-
// Test whether a URL contains "m3u8". (Using exactly the same logic as
// NuPlayer does to determine if a stream is HLS.)
+ static bool IsHLSURL(const GURL& url);
+
+ // Test whether the path of a URL ends with ".m3u8".
static bool IsHLSPath(const GURL& url);
static bool RegisterMediaCodecUtil(JNIEnv* env);
« no previous file with comments | « content/renderer/media/webmediaplayer_ms_unittest.cc ('k') | media/base/android/media_codec_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698