tcking / GiraffePlayer2

out of the box android video player(support lazy load, ListView/RecyclerView and hight performance)
Apache License 2.0
377 stars 110 forks source link

Something error appears upon video reloading / recycling #56

Open mikekpl opened 6 years ago

mikekpl commented 6 years ago

When a video on a list (RecyclerView) is recycled, or reloaded a something error sometimes appear instead of playing the video again...

tcking commented 6 years ago

please paste the log

mikekpl commented 6 years ago
02-26 18:31:31.800 21575-24869/com.stg E/MediaPlayer: Attempt to perform seekTo in wrong state: mPlayer=0x71ce82bcc0, mCurrentState=4
02-26 18:31:31.800 21575-24869/com.stg E/MediaPlayer: error (-38, 0)
02-26 18:31:31.801 21575-24869/com.stg E/MediaPlayer: Error (-38,0)
02-26 18:31:31.831 21575-24533/com.stg E/BufferQueueProducer: [SurfaceTexture-0-21575-5] connect: BufferQueue has been abandoned
mikekpl commented 6 years ago

After waiting for a bit, something error will disappear and it will start playing, can we replace it with loader instead? :o or an icon of cannot play instead of something error? Just a thought though so we can remove the problems for translating, something error