Index: media/base/video_decoder.h |
diff --git a/media/base/video_decoder.h b/media/base/video_decoder.h |
index d7e7a791de3d168668476cbdbd73aae22dd90ef4..b8b8fa71f71484ba84552d17ea0cf474f0460fe1 100644 |
--- a/media/base/video_decoder.h |
+++ b/media/base/video_decoder.h |
@@ -78,8 +78,9 @@ class MEDIA_EXPORT VideoDecoder { |
// called again). |
// |
// After decoding is finished the decoder calls |output_cb| specified in |
- // Initialize() for each decoded frame. |output_cb| may be called before or |
- // after |decode_cb|. |
+ // Initialize() for each decoded frame. In general |output_cb| may be called |
+ // before or after |decode_cb|, but software decoders must always call |
+ // |output_cb| before calling |decode_cb|. |
xhwang
2015/01/15 21:35:10
Hmm, is there any reason why VideoDecoderShim can'
Sergey Ulanov
2015/01/15 22:59:20
PPB_VideoDecoder API needs to tell the plugin whic
xhwang
2015/01/15 23:41:47
Thanks for the info! But what exactly do you mean
|
// |
// If |buffer| is an EOS buffer then the decoder must be flushed, i.e. |
// |output_cb| must be called for each frame pending in the queue and |