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

Unified Diff: content/common/gpu/media/video_decode_accelerator_unittest.cc

Issue 9186022: Remove VideoDecodeAccelerator::Client::NotifyEndOfStream / PPP_VideoDecoder_Dev::EndOfStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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: content/common/gpu/media/video_decode_accelerator_unittest.cc
diff --git a/content/common/gpu/media/video_decode_accelerator_unittest.cc b/content/common/gpu/media/video_decode_accelerator_unittest.cc
index 5e15601384e4334da4a9de706284e1287b606141..c9bc1f5784aaf9576291cc52435045629401c7e1 100644
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc
@@ -556,7 +556,6 @@ class EglRenderingVDAClient : public VideoDecodeAccelerator::Client {
virtual void PictureReady(const media::Picture& picture);
// Simple state changes.
virtual void NotifyInitializeDone();
- virtual void NotifyEndOfStream();
virtual void NotifyEndOfBitstreamBuffer(int32 bitstream_buffer_id);
virtual void NotifyFlushDone();
virtual void NotifyResetDone();
@@ -734,10 +733,6 @@ void EglRenderingVDAClient::NotifyInitializeDone() {
DecodeNextNALUs();
}
-void EglRenderingVDAClient::NotifyEndOfStream() {
- SetState(CS_DONE);
-}
-
void EglRenderingVDAClient::NotifyEndOfBitstreamBuffer(
int32 bitstream_buffer_id) {
++num_done_bitstream_buffers_;

Powered by Google App Engine
This is Rietveld 408576698