Index: media/base/android/media_codec_bridge.h |
diff --git a/media/base/android/media_codec_bridge.h b/media/base/android/media_codec_bridge.h |
index 9f855beb6098cf80869c193f7ef049dce38e31e7..7c3615a5f3a7d2bbc6e4dfe6819dd26dd8c95745 100644 |
--- a/media/base/android/media_codec_bridge.h |
+++ b/media/base/android/media_codec_bridge.h |
@@ -54,7 +54,9 @@ class MEDIA_EXPORT MediaCodecBridge { |
// DequeueInputBuffer() and DequeueOutputBuffer() become invalid. |
// Please note that this clears all the inputs in the media codec. In other |
// words, there will be no outputs until new input is provided. |
- void Reset(); |
+ // Returns MEDIA_CODEC_ERROR if an unexpected error happens, or Media_CODEC_OK |
+ // otherwise. |
+ MediaCodecStatus Reset(); |
// Finishes the decode/encode session. The instance remains active |
// and ready to be StartAudio/Video()ed again. HOWEVER, due to the buggy |