Index: media/formats/mp4/box_definitions.cc |
diff --git a/media/formats/mp4/box_definitions.cc b/media/formats/mp4/box_definitions.cc |
index b5e9f86119f67158d83a44915c79bc860a2bc500..9018f89c063950cea029caf3591e4733b372e421 100644 |
--- a/media/formats/mp4/box_definitions.cc |
+++ b/media/formats/mp4/box_definitions.cc |
@@ -681,9 +681,10 @@ bool VideoSampleEntry::Parse(BoxReader* reader) { |
std::unique_ptr<HEVCDecoderConfigurationRecord> hevcConfig( |
new HEVCDecoderConfigurationRecord()); |
RCHECK(reader->ReadChild(hevcConfig.get())); |
+ video_codec = kCodecHEVC; |
+ video_codec_profile = hevcConfig->GetVideoProfile(); |
frame_bitstream_converter = |
make_scoped_refptr(new HEVCBitstreamConverter(std::move(hevcConfig))); |
- video_codec = kCodecHEVC; |
break; |
} |
#endif |