commit | 3e9bf4061475ae0d01c57e32c13e63808aa3e31f | [log] [tgz] |
---|---|---|
author | Pannag Sanketi <psanketi@google.com> | Thu Sep 22 17:03:48 2011 -0700 |
committer | Pannag Sanketi <psanketi@google.com> | Thu Sep 22 17:03:48 2011 -0700 |
tree | e202bf8dfb7dc91a2de1248ccee3265740e07760 | |
parent | 669012d77b00a2aacb6fd12837f2870f9ec17865 [diff] |
Returning EOS in SurfaceMediaSource:read In SurfaceMediaSource::read, if disconnect has already been called, then ERROR_END_OF_STREAM should be returned rather that NO_INIT. Else, it sometimes leads to a crash in mediarecorder stop() call. Related to FactoryROM bug: 5332812 Change-Id: I22132538ab2501d084e0283876817b1ec3f64a1d