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

Unified Diff: media/filters/gpu_video_decoder.h

Issue 10948051: Workaround for DXVA incorrectly claiming to be done with Decode() too soon. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « no previous file | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/gpu_video_decoder.h
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
index ce86ffc4e314d540d624f805886ea03c49ebca5e..bffe5ef6269306f7579a737c7fd1a0025f7bfbab 100644
--- a/media/filters/gpu_video_decoder.h
+++ b/media/filters/gpu_video_decoder.h
@@ -102,6 +102,9 @@ class MEDIA_EXPORT GpuVideoDecoder
// decoder, kick some off demuxing/decoding.
void EnsureDemuxOrDecode();
+ // Return true if more decode work can be piled on to the VDA.
+ bool CanMoreDecodeWorkBeDone();
+
// Callback to pass to demuxer_stream_->Read() for receiving encoded bits.
void RequestBufferDecode(DemuxerStream::Status status,
const scoped_refptr<DecoderBuffer>& buffer);
« no previous file with comments | « no previous file | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698