ANR often occurs after a little bit of customizing
Posted: 19 Jan 2014 02:32
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!
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!