commit | 02d18453d54a05c275c03b72a8290f3c9a964446 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Wed Aug 29 14:49:28 2012 +0300 |
committer | Martin Storsjo <martin@martin.st> | Wed Aug 29 15:38:25 2012 +0300 |
tree | 71c31526481072f937eb9d28ee9d6bcc3d976979 | |
parent | 4b60ac04a878eaf8344b56189509ccd6925855c2 [diff] |
MPEG2TSWriter: Read more immediately if an empty buffer is received If writing encoded data from an OMXCodec, the last buffer can be an empty buffer (with the EOS flag set, which isn't propagated to MediaBuffer). If we don't retry reading, we won't ever get the EOS error and thus won't properly signal that the source is done. Change-Id: Ibe01dbcd0637fbf0c2529a277e9f208c48e0e8ab