Video Flickering / Blinking
Some MPEG4 videos are blinking black in a portrait orientation. I tried videos downloaded using youtube-dl tool. The source of the trouble is setting
SurfaceView layout params dimensions. Strangely, if you touch the screen the view will not blink. If you decrease width and height for updated
100 it will not blink as well. The official VLC app uses the same logic for changing layout params, so it blinks as well, just a little less. Another strange fact—AVI files do not blink at all.
Also available in: Atom