diff options
author | Torne (Richard Coles) <torne@google.com> | 2014-02-21 12:16:55 +0000 |
---|---|---|
committer | Torne (Richard Coles) <torne@google.com> | 2014-02-21 12:16:55 +0000 |
commit | 5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7 (patch) | |
tree | 5d4ae202b870bd86673f596f0d424bc4b3e55ebe /media/base/video_decoder.h | |
parent | e862bac9c33104a29d98631d62668ae7b6676510 (diff) | |
download | chromium_org-5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7.tar.gz |
Merge from Chromium at DEPS revision 251904
This commit was generated by merge_to_master.py.
Change-Id: I1f9543259d7d2a57d81aa41a1b84f85837439d21
Diffstat (limited to 'media/base/video_decoder.h')
-rw-r--r-- | media/base/video_decoder.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/media/base/video_decoder.h b/media/base/video_decoder.h index 63f63e5d7d..66abc8c85c 100644 --- a/media/base/video_decoder.h +++ b/media/base/video_decoder.h @@ -22,6 +22,7 @@ class MEDIA_EXPORT VideoDecoder { // Status codes for decode operations on VideoDecoder. enum Status { kOk, // Everything went as planned. + kAborted, // Decode was aborted as a result of Reset() being called. kNotEnoughData, // Not enough data to produce a video frame. kDecodeError, // Decoding error happened. kDecryptError // Decrypting error happened. @@ -52,8 +53,6 @@ class MEDIA_EXPORT VideoDecoder { // If the returned status is kOk: // - Non-EOS (end of stream) frame contains decoded video data. // - EOS frame indicates the end of the stream. - // - NULL frame indicates an aborted decode. This can happen if Reset() or - // Stop() is called during the decoding process. // Otherwise the returned frame must be NULL. typedef base::Callback<void(Status, const scoped_refptr<VideoFrame>&)> DecodeCB; |