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

Unified Diff: media/mp4/mp4_stream_parser.cc

Issue 10832087: Remove VideoDecoderConfig.frame_rate_xxx() & VideoFrame:Get/SetDuration() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address more CR comments. Created 8 years, 5 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/video_renderer_base_unittest.cc ('k') | media/tools/scaler_bench/scaler_bench.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mp4/mp4_stream_parser.cc
diff --git a/media/mp4/mp4_stream_parser.cc b/media/mp4/mp4_stream_parser.cc
index d153d69161e00df969ab933bd26ebfd07c020a3b..c7a1c4dbafe985926d73624c67bfea5c7d7f7c87 100644
--- a/media/mp4/mp4_stream_parser.cc
+++ b/media/mp4/mp4_stream_parser.cc
@@ -222,9 +222,6 @@ bool MP4StreamParser::ParseMoov(BoxReader* reader) {
video_config.Initialize(kCodecH264, H264PROFILE_MAIN, VideoFrame::YV12,
gfx::Size(entry.width, entry.height),
gfx::Rect(0, 0, entry.width, entry.height),
- // Framerate of zero is provided to signal that
- // the decoder should trust demuxer timestamps
- 0, 1,
entry.pixel_aspect.h_spacing,
entry.pixel_aspect.v_spacing,
// No decoder-specific buffer needed for AVC;
« no previous file with comments | « media/filters/video_renderer_base_unittest.cc ('k') | media/tools/scaler_bench/scaler_bench.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698