From 82a633b602a7ffe1efd9886744393f52a093a2f3 Mon Sep 17 00:00:00 2001 From: Lajos Molnar Date: Mon, 20 Jul 2015 16:24:31 -0700 Subject: stagefright: remove workaround for BQ not reporting dropped frames Bug: 22234976 Related-bug: 22552826 Change-Id: Ic29b8d8533a4df8c15bcf3a9dab924aa24428304 --- include/media/stagefright/MediaSync.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/media/stagefright/MediaSync.h b/include/media/stagefright/MediaSync.h index 4b5cd05..ef8cb23 100644 --- a/include/media/stagefright/MediaSync.h +++ b/include/media/stagefright/MediaSync.h @@ -135,8 +135,7 @@ protected: private: enum { - kWhatDrainVideo = 'dVid', - kWhatCheckFrameAvailable = 'cFrA', + kWhatDrainVideo = 'dVid', }; // This is a thin wrapper class that lets us listen to @@ -248,9 +247,8 @@ private: // onBufferReleasedByOutput releases a buffer back to the input. void onFrameAvailableFromInput(); - // Send |bufferItem| to the output for rendering. If this is not the only - // buffer sent for rendering, check for any dropped frames in |checkInUs| us. - void renderOneBufferItem_l(const BufferItem &bufferItem, int64_t checkInUs); + // Send |bufferItem| to the output for rendering. + void renderOneBufferItem_l(const BufferItem &bufferItem); // This implements the onBufferReleased callback from IProducerListener. // It gets called from an OutputListener. -- cgit v1.1