Pick up some fixes from xbmc.
Fix h264 in avi file timestamps.
Add extra buffer when deinterlacing to avoid hanging.
Remove bitstream converter and get GPU to do it.