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

Unified Diff: native_client_sdk/src/examples/api/video_decode/video_decode.cc

Issue 390213002: Pepper: Change PPB_VideoDecoder::Reset behavior so plugin always manages textures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/pepper/video_decoder_shim.cc ('k') | ppapi/api/ppb_video_decoder.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/examples/api/video_decode/video_decode.cc
diff --git a/native_client_sdk/src/examples/api/video_decode/video_decode.cc b/native_client_sdk/src/examples/api/video_decode/video_decode.cc
index ad667f2d1a49b1c81443350e68ea96bbdcee2ce9..5db1b71e05476356dd68677a8db2f286fdb1ddaf 100644
--- a/native_client_sdk/src/examples/api/video_decode/video_decode.cc
+++ b/native_client_sdk/src/examples/api/video_decode/video_decode.cc
@@ -429,10 +429,6 @@ bool MyInstance::HandleInputEvent(const pp::InputEvent& event) {
if (!video_decoders_[i]->resetting())
video_decoders_[i]->Reset();
}
-
- // Clear pending pictures.
- while (!pending_pictures_.empty())
- pending_pictures_.pop();
}
return true;
}
« no previous file with comments | « content/renderer/pepper/video_decoder_shim.cc ('k') | ppapi/api/ppb_video_decoder.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698