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

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: rebased 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 e52720d302d19a3f29768994c105dfa0c95e2794..7d98c5c3a41045ee81e0f0640871bb7c9c4ad10d 100644
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc
@@ -560,7 +560,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();
@@ -746,10 +745,6 @@ void EglRenderingVDAClient::NotifyInitializeDone() {
DecodeNextNALUs();
}
-void EglRenderingVDAClient::NotifyEndOfStream() {
- SetState(CS_DONE);
-}
-
void EglRenderingVDAClient::NotifyEndOfBitstreamBuffer(
int32 bitstream_buffer_id) {
++num_done_bitstream_buffers_;
« no previous file with comments | « content/common/gpu/media/gpu_video_decode_accelerator.cc ('k') | content/renderer/gpu/gpu_video_decode_accelerator_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698