Added userdata pointer to audio/video callbacks