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

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

Issue 1899423002: Revert of Implement support for vp9 in ISO-BMFF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/fourccs.h ('k') | media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp4/mp4_stream_parser.cc
diff --git a/media/formats/mp4/mp4_stream_parser.cc b/media/formats/mp4/mp4_stream_parser.cc
index dbd736df941a6542415faa81490e0bb290ec448f..d248bad35656937158f6bd57f6499791abc27f4b 100644
--- a/media/formats/mp4/mp4_stream_parser.cc
+++ b/media/formats/mp4/mp4_stream_parser.cc
@@ -549,16 +549,13 @@
std::vector<uint8_t> frame_buf(buf, buf + runs_->sample_size());
if (video) {
- if (runs_->video_description().video_codec == kCodecH264 ||
- runs_->video_description().video_codec == kCodecHEVC) {
- DCHECK(runs_->video_description().frame_bitstream_converter);
- if (!runs_->video_description().frame_bitstream_converter->ConvertFrame(
- &frame_buf, runs_->is_keyframe(), &subsamples)) {
- MEDIA_LOG(ERROR, media_log_)
- << "Failed to prepare video sample for decode";
- *err = true;
- return false;
- }
+ DCHECK(runs_->video_description().frame_bitstream_converter);
+ if (!runs_->video_description().frame_bitstream_converter->ConvertFrame(
+ &frame_buf, runs_->is_keyframe(), &subsamples)) {
+ MEDIA_LOG(ERROR, media_log_)
+ << "Failed to prepare video sample for decode";
+ *err = true;
+ return false;
}
}
« no previous file with comments | « media/formats/mp4/fourccs.h ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698