Thursday, October 13, 2011

MutexLock hangs in StageFright:


MutexLock hangs in StageFright:

   1.This might happens due to invalid use of[if we have added any] the mutex lock / invalid call sequence.

We observed mutex lock hang for the below scenario:

    mPlayer.SeekTo(10);
    mPlayer.Start();


We should call like this:

  mPlayer.SeekTo(10);
  mPlayer.OnSeekCompletionListener()
  {
    mPlayer.Start();
    
  }

or


  mPlayer.SeekTo(10);
  WaitForEvent();
  mPlayer.Start();

   OnSeekCompletionListener()
  {
    TriggerEvent();
  }

 

No comments: