Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91d34137 authored by Pannag Sanketi's avatar Pannag Sanketi Committed by Android Git Automerger
Browse files

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

* commit '1d71c7b4':
  Returning EOS in SurfaceMediaSource:read
parents 4cd34752 1d71c7b4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -764,8 +764,8 @@ status_t SurfaceMediaSource::read( MediaBuffer **buffer,
    // If the loop was exited as a result of stopping the recording,
    // it is OK
    if (mStopped) {
        LOGV("Read: SurfaceMediaSource is stopped. Returning NO_INIT;");
        return NO_INIT;
        LOGV("Read: SurfaceMediaSource is stopped. Returning ERROR_END_OF_STREAM.");
        return ERROR_END_OF_STREAM;
    }

    // Update the current buffer info