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

Unified Diff: content/renderer/media/rtc_video_decoder.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 | « content/renderer/media/capture_video_decoder.cc ('k') | media/base/video_decoder_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_video_decoder.cc
diff --git a/content/renderer/media/rtc_video_decoder.cc b/content/renderer/media/rtc_video_decoder.cc
index c2389b23d6d475bbcbc1bc1d8d9da55dba7df514..f4a0e731755bad222afa2c04a2613ee473c627cf 100644
--- a/content/renderer/media/rtc_video_decoder.cc
+++ b/content/renderer/media/rtc_video_decoder.cc
@@ -161,8 +161,7 @@ void RTCVideoDecoder::RenderFrame(const cricket::VideoFrame* frame) {
media::VideoFrame::CreateFrame(media::VideoFrame::YV12,
visible_size_.width(),
visible_size_.height(),
- timestamp - start_time_,
- base::TimeDelta::FromMilliseconds(0));
+ timestamp - start_time_);
last_frame_timestamp_ = timestamp;
// Aspect ratio unsupported; DCHECK when there are non-square pixels.
« no previous file with comments | « content/renderer/media/capture_video_decoder.cc ('k') | media/base/video_decoder_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698