Page 1 of 1

ANR often occurs after a little bit of customizing

Posted: 19 Jan 2014 02:32
by dfdf
Dear Sirs,I need your help.

I'm customizing VLC a little bit to play video according to the subtitle,it reads all time periods from the corresponding subtitle file,pause for a little while after playing the clip of every time period of these subtitle sentences,maybe repeat play these clips 1-3 times,for listening and learning the foreign language.Almost everything works fine,excepting only one problem:there are some ANRs randomly appears.

I have place the whole play feature into a thread,I don't know what makes these ANRs,I have learned VideoPlayerEventHandler and VideoPlayerHandler for while,but have no idea if they are the arch-criminal.

Where can I go from here?Thanks for any reply!

Re: ANR often occurs after a little bit of customizing

Posted: 20 Jan 2014 22:47
by edwardw
Look at the logcat logs with ADB.