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

Unified Diff: media/filters/ffmpeg_glue.cc

Issue 2770293002: Detect HLS from demuxing results (Closed)
Patch Set: Minor changes in comments Created 3 years, 4 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 | « media/filters/ffmpeg_glue.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_glue.cc
diff --git a/media/filters/ffmpeg_glue.cc b/media/filters/ffmpeg_glue.cc
index ca77d9ac56805238d77a5fb5adab5d9d81a4f926..187d41b11477852eb6f3388b294754dc18e52fac 100644
--- a/media/filters/ffmpeg_glue.cc
+++ b/media/filters/ffmpeg_glue.cc
@@ -165,6 +165,9 @@ bool FFmpegGlue::OpenContext() {
container_ = container_names::DetermineContainer(buffer.data(), num_read);
UMA_HISTOGRAM_SPARSE_SLOWLY("Media.DetectedContainer", container_);
+
+ detected_hls_ =
+ container_ == container_names::MediaContainerName::CONTAINER_HLS;
return false;
} else if (ret < 0) {
return false;
« no previous file with comments | « media/filters/ffmpeg_glue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698