Add a delegate interface to allow video frame modification before encoding