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

Unified Diff: media/filters/video_frame_stream.cc

Issue 18580008: Rename VideoDecoder::HasOutputFrameAvailable() to CanReadWithoutStalling(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: name change and drop disabled (invalid) test Created 7 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
« no previous file with comments | « media/filters/video_frame_stream.h ('k') | media/filters/video_renderer_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_frame_stream.cc
diff --git a/media/filters/video_frame_stream.cc b/media/filters/video_frame_stream.cc
index 3cf2f370cee9ee072cdde4a9cc51f0cb842cc384..28aaac6d4fd56d2e8d5c892c11f58df078c13c48 100644
--- a/media/filters/video_frame_stream.cc
+++ b/media/filters/video_frame_stream.cc
@@ -141,9 +141,9 @@ void VideoFrameStream::Stop(const base::Closure& closure) {
message_loop_->PostTask(FROM_HERE, base::ResetAndReturn(&stop_cb_));
}
-bool VideoFrameStream::HasOutputFrameAvailable() const {
+bool VideoFrameStream::CanReadWithoutStalling() const {
DCHECK(message_loop_->BelongsToCurrentThread());
- return decoder_->HasOutputFrameAvailable();
+ return decoder_->CanReadWithoutStalling();
}
void VideoFrameStream::Read(const DemuxerStream::ReadCB& demuxer_read_cb) {
« no previous file with comments | « media/filters/video_frame_stream.h ('k') | media/filters/video_renderer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698