Fix memory leak in h264_decode
Add quick and dirty X window integration