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

Unified Diff: media/filters/video_frame_generator.cc

Issue 10832087: Remove VideoDecoderConfig.frame_rate_xxx() & VideoFrame:Get/SetDuration() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments & build issues. 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
Index: media/filters/video_frame_generator.cc
diff --git a/media/filters/video_frame_generator.cc b/media/filters/video_frame_generator.cc
index c901b9ea65107a82337d4cb46965760276c33535..b8819d459d5c0c79c81162235a9fdef6389ae678 100644
--- a/media/filters/video_frame_generator.cc
+++ b/media/filters/video_frame_generator.cc
@@ -79,8 +79,7 @@ void VideoFrameGenerator::ReadOnDecoderThread(const ReadCB& read_cb) {
VideoFrame::CreateFrame(VideoFrame::YV12,
natural_size_.width(),
natural_size_.height(),
- current_time_,
- frame_duration_);
+ current_time_);
current_time_ += frame_duration_;
// TODO(wjia): set pixel data to pre-defined patterns if it's desired to

Powered by Google App Engine
This is Rietveld 408576698