am 1d71c7b4: Merge "Returning EOS in SurfaceMediaSource:read" into ics-factoryrom

* commit '1d71c7b40a7f38487e602e78f45279b6a8364fc9':
  Returning EOS in SurfaceMediaSource:read
This commit is contained in:
Pannag Sanketi
2011-09-23 09:08:11 -07:00
committed by Android Git Automerger

View File

@@ -764,8 +764,8 @@ status_t SurfaceMediaSource::read( MediaBuffer **buffer,
// If the loop was exited as a result of stopping the recording, // If the loop was exited as a result of stopping the recording,
// it is OK // it is OK
if (mStopped) { if (mStopped) {
LOGV("Read: SurfaceMediaSource is stopped. Returning NO_INIT;"); LOGV("Read: SurfaceMediaSource is stopped. Returning ERROR_END_OF_STREAM.");
return NO_INIT; return ERROR_END_OF_STREAM;
} }
// Update the current buffer info // Update the current buffer info