Adding h264 interlaced encoding support