Because the android-framework group is going to get closed very soon,
please re-post your question in android-platform.
Thanks,
JBQ
On Mon, Aug 10, 2009 at 11:07 PM, Jia Meng<dspm
...@gmail.com> wrote:
> In Donut, OpenCORE AndroidCameraInput's DoStop() stops recording in
> the following sequence:
> mCamera->setListener(NULL);
> mCamera->stopRecording();
> ReleaseQueuedFrames();
> However, during the period between clearing listener and calling
> stopRecording(), buffers sent from camera to AndroidCameraInput will
> be lost, i.e. not received by listener and thus won't be sent back to
> camera through releaseRecordingFrame(). If camera keeps waiting for
> all buffers coming back from OpenCORE, it might hang there. Would it
> be a problem? Shall we move stopRecording() before setLIstener(NULL)?
> Thanks
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.