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

Unified Diff: media/formats/mp4/mp4_stream_parser_unittest.cc

Issue 2317273003: Use the correct HEVC profile in VideoDecoderConfig (Closed)
Patch Set: Added a comment to explain where general_profile_idc values are from Created 4 years, 3 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/formats/mp4/hevc.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp4/mp4_stream_parser_unittest.cc
diff --git a/media/formats/mp4/mp4_stream_parser_unittest.cc b/media/formats/mp4/mp4_stream_parser_unittest.cc
index d7b23181681d90ae1a5df19abf1384aaa90865a3..caffc2395434f560d816988bd74a14579efb5871 100644
--- a/media/formats/mp4/mp4_stream_parser_unittest.cc
+++ b/media/formats/mp4/mp4_stream_parser_unittest.cc
@@ -371,6 +371,10 @@ TEST_F(MP4StreamParserTest, HEVC_in_MP4_container) {
scoped_refptr<DecoderBuffer> buffer = ReadTestDataFile("bear-hevc-frag.mp4");
EXPECT_EQ(expect_success,
AppendDataInPieces(buffer->data(), buffer->data_size(), 512));
+#if BUILDFLAG(ENABLE_HEVC_DEMUXING)
+ EXPECT_EQ(kCodecHEVC, video_decoder_config_.codec());
+ EXPECT_EQ(HEVCPROFILE_MAIN, video_decoder_config_.profile());
+#endif
}
// Sample encryption information is stored as CencSampleAuxiliaryDataFormat
« no previous file with comments | « media/formats/mp4/hevc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698