Decoding the video frame and passing it to the callback.