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

Unified Diff: media/filters/h264_parser.h

Issue 2273793002: Don't fail on profile changes in GpuVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make MSE stop lying. Created 4 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/gpu_video_decoder.cc ('k') | media/filters/h264_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/h264_parser.h
diff --git a/media/filters/h264_parser.h b/media/filters/h264_parser.h
index 065427ad4e6f7f681ad6ad2a38a5a0a4029993f2..c557383022023dbfacab93e9cc076cf6aab3bd14 100644
--- a/media/filters/h264_parser.h
+++ b/media/filters/h264_parser.h
@@ -17,6 +17,7 @@
#include "base/macros.h"
#include "media/base/media_export.h"
#include "media/base/ranges.h"
+#include "media/base/video_codecs.h"
#include "media/filters/h264_bit_reader.h"
namespace media {
@@ -360,6 +361,9 @@ class MEDIA_EXPORT H264Parser {
const Ranges<const uint8_t*>& ranges,
off_t* offset,
off_t* start_code_size);
+
+ static VideoCodecProfile ProfileIDCToVideoCodecProfile(int profile_idc);
+
H264Parser();
~H264Parser();
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | media/filters/h264_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698