| Index: media/base/android/media_decoder_job.h
|
| diff --git a/media/base/android/media_decoder_job.h b/media/base/android/media_decoder_job.h
|
| index 46221814c198657809ec1f400bccda4bd2da59bf..4facf4873f32794e47dddfdcb1a7719de00e4a30 100644
|
| --- a/media/base/android/media_decoder_job.h
|
| +++ b/media/base/android/media_decoder_job.h
|
| @@ -51,13 +51,6 @@ class MediaDecoderJob {
|
| // case.
|
| typedef base::Callback<void(MediaCodecStatus, bool, base::TimeDelta,
|
| base::TimeDelta)> DecoderCallback;
|
| - // Callback when a decoder job finishes releasing the output buffer.
|
| - // Args: whether the frame is a late frame, current presentation time, max
|
| - // presentation time.
|
| - // If the current presentation time is equal to kNoTimestamp(), the callback
|
| - // target should ignore the timestamps provided and whether it is late.
|
| - typedef base::Callback<void(bool, base::TimeDelta, base::TimeDelta)>
|
| - ReleaseOutputCompletionCallback;
|
|
|
| virtual ~MediaDecoderJob();
|
|
|
| @@ -137,7 +130,8 @@ class MediaDecoderJob {
|
| bool render_output,
|
| bool is_late_frame,
|
| base::TimeDelta current_presentation_timestamp,
|
| - const ReleaseOutputCompletionCallback& callback) = 0;
|
| + MediaCodecStatus status,
|
| + const DecoderCallback& callback) = 0;
|
|
|
| // Returns true if the "time to render" needs to be computed for frames in
|
| // this decoder job.
|
|
|