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

Unified Diff: webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc

Issue 2065733003: Delete unused and almost unused frame-related methods. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Deleted TODO comment. Created 4 years, 6 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: webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
diff --git a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
index 750f7427cdd8a38d85ea93baa66ca49b5e1300b7..54785ab744690b1f185e59cf09c74b8b2c239642 100644
--- a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
+++ b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc
@@ -960,9 +960,9 @@ int VP9DecoderImpl::ReturnFrame(const vpx_image_t* img, uint32_t timestamp) {
// release |img_buffer|.
rtc::KeepRefUntilDone(img_buffer)));
- VideoFrame decoded_image;
- decoded_image.set_video_frame_buffer(img_wrapped_buffer);
- decoded_image.set_timestamp(timestamp);
+ VideoFrame decoded_image(img_wrapped_buffer, timestamp,
+ 0, webrtc::kVideoRotation_0);
perkj_webrtc 2016/06/15 20:43:12 nit: what does 0 mean here? can your write 0 /* pa
nisse-webrtc 2016/06/16 07:22:28 Adding /* render_time_ms */. This code only sets t
+
int ret = decode_complete_callback_->Decoded(decoded_image);
if (ret != 0)
return ret;

Powered by Google App Engine
This is Rietveld 408576698