Removed needless call of appendBuffer.
Improved to test MP4 video also.