OSDN Git Service

GraphicBufferSource fixes
authorAndy McFadden <fadden@android.com>
Mon, 11 Mar 2013 22:09:32 +0000 (15:09 -0700)
committerAndy McFadden <fadden@android.com>
Tue, 12 Mar 2013 19:27:02 +0000 (12:27 -0700)
commit0c37f9d1320bb87fd242f9425c67dacd6ce20112
tree1fa9780cf35055d9c826b4ca124df552e3871bfe
parentdbda1c852d68fde2e729ff2f8e85a406da73994b
GraphicBufferSource fixes

Various fixes:
- Set the maximum number of BQ buffers we're allowed to
  acquire equal to the actual number of codec buffers.  That
  way we keep the codec as full as possible, and never try to
  acquire more than we're allowed from the BufferQueue.
- Actually use "end of stream sent" flag.
- Name the BufferQueue (for debug messages).

Bug 8359403

Change-Id: I3b8c1f679bbebf6a89e623e13ca029eda7f657ba
media/libstagefright/omx/GraphicBufferSource.cpp
media/libstagefright/omx/GraphicBufferSource.h
media/libstagefright/omx/OMXNodeInstance.cpp