OSDN Git Service

avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame
authorMartin Storsjo <martin@martin.st>
Wed, 29 Aug 2012 10:53:15 +0000 (13:53 +0300)
committerMartin Storsjo <martin@martin.st>
Wed, 29 Aug 2012 16:06:35 +0000 (19:06 +0300)
commitf547a36c8f0fe11c4c425168037e3ce1d1a697df
treef52fac3e72e4ebeebec651587f6e55fcd4e805d2
parent4b60ac04a878eaf8344b56189509ccd6925855c2
avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame

Without this, the caller might hang waiting for more output buffers.

Change-Id: Ief6be00b7600be8498a953e8e88f0582ea8fce85
media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp