if any OMX callback (during EOS/deinitialization) from codec component is not received properly, you will run into timeout, then have to 'force-close' the media player,
Opencore hangs (not a graceful exit, but a force-kill scenario like u mentioned) if, - any of i/p or o/p buffers' freebuffer() call fails - you dont get fillbufferdone() callbacks for exact number of buffers on final flush/EOS event (in case of extra buffer returned or one buffer not returned) I'm sure you dont hit FreeHandle() for the component and DeInit() of OMX core, probably due to above issues. Cross check that with your codec component, media player task will exit gracefully. Regards, Deva www.bittoggler.com On Wed, Sep 1, 2010 at 7:18 AM, anddev <[email protected]> wrote: > Hi all, i am getting below error message at the end of a video > playback(using Opencore), > though video plays fine till the end of the file. > but as soon as it try to go back to the 3DGallery application(to show > contains of the SD card), i am getting the below error and screen > turned blank, and some time it ask for the force killing of the > 3DGallery application. > > ********Error msg ******** > > WARN/InputManagerService(2005): Window already focused, ignoring focus > gain of: com.android.internal.view.IInputMethodClient$Stub > $pr...@442da8d8 > > WARN/ActivityManager(2005): Activity pause timeout for > HistoryRecord{44183198 com.cooliris.media/.MovieView} > > VERBOSE/ActivityManager(2005): Activity paused: > token=HistoryRecord{44183198 com.cooliris.media/.MovieView}, > icicle=null, timeout=true > > WARN/ActivityManager(2005): Launch timeout has expired, giving up wake > lock! > WARN/ActivityManager(2005): Activity idle timeout for > HistoryRecord{44183dd0 com.cooliris.media/.Gallery} > > WARN/ActivityManager(2005): Activity destroy timeout for > HistoryRecord{44183198 com.cooliris.media/.MovieView} > *********end************ > will appreciate any help on this. > Thanks > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
