diff options
author | Lajos Molnar <lajos@google.com> | 2015-07-20 16:24:31 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2015-07-20 16:49:26 -0700 |
commit | 82a633b602a7ffe1efd9886744393f52a093a2f3 (patch) | |
tree | 94b8f5d5f3729c73371ea8a82a6358ea6aa9d6ff /include | |
parent | 84e4987ffc8d4bb6731bcb28d69a7ff37a0e9921 (diff) | |
download | frameworks_av-82a633b602a7ffe1efd9886744393f52a093a2f3.zip frameworks_av-82a633b602a7ffe1efd9886744393f52a093a2f3.tar.gz frameworks_av-82a633b602a7ffe1efd9886744393f52a093a2f3.tar.bz2 |
stagefright: remove workaround for BQ not reporting dropped frames
Bug: 22234976
Related-bug: 22552826
Change-Id: Ic29b8d8533a4df8c15bcf3a9dab924aa24428304
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/MediaSync.h | 8 |
1 files changed, 3 insertions, 5 deletions
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. |