bugs: 1. memory leak 2. sometimes crash. can not open 2 players, or other players using hw. Assertion abs(src_linesize) >= bytewidth failed at libavutil/imgutils.c: