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

Unified Diff: media/base/android/media_codec_video_decoder.h

Issue 1242913004: MediaCodecPlayer implementation (stage 3 - browser seek and surface change) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mtplayer-seek
Patch Set: Rebased, changed DCHECKs. Created 5 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 | « media/base/android/media_codec_player_unittest.cc ('k') | media/base/android/media_codec_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_codec_video_decoder.h
diff --git a/media/base/android/media_codec_video_decoder.h b/media/base/android/media_codec_video_decoder.h
index ed455c84bbd88a9c9a9620f426060d71070fc883..8b6de8e91d7b36722fd4d5c5a23eb06382add3c1 100644
--- a/media/base/android/media_codec_video_decoder.h
+++ b/media/base/android/media_codec_video_decoder.h
@@ -44,10 +44,10 @@ class MediaCodecVideoDecoder : public MediaCodecDecoder {
void ReleaseDecoderResources() override;
// Stores the video surface to use with upcoming Configure()
- void SetPendingSurface(gfx::ScopedJavaSurface surface);
+ void SetVideoSurface(gfx::ScopedJavaSurface surface);
// Returns true if there is a video surface to use.
- bool HasPendingSurface() const;
+ bool HasVideoSurface() const;
protected:
bool IsCodecReconfigureNeeded(const DemuxerConfigs& curr,
@@ -62,7 +62,7 @@ class MediaCodecVideoDecoder : public MediaCodecDecoder {
bool eos_encountered) override;
int NumDelayedRenderTasks() const override;
- void ReleaseDelayedBuffers() override;
+ void ClearDelayedBuffers(bool release) override;
#ifndef NDEBUG
void VerifyUnitIsKeyFrame(const AccessUnit* unit) const override;
« no previous file with comments | « media/base/android/media_codec_player_unittest.cc ('k') | media/base/android/media_codec_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698