Print a warning when trying to seek in VideoPlayer
Seeking isn't implemented in built-in video formats and can only be supported in GDNative-provided video formats.
This commit is contained in:
@ -603,6 +603,7 @@ float VideoStreamPlaybackTheora::get_playback_position() const {
|
||||
};
|
||||
|
||||
void VideoStreamPlaybackTheora::seek(float p_time) {
|
||||
WARN_PRINT_ONCE("Seeking in Theora and WebM videos is not implemented yet (it's only supported for GDNative-provided video streams).");
|
||||
}
|
||||
|
||||
void VideoStreamPlaybackTheora::set_mix_callback(AudioMixCallback p_callback, void *p_userdata) {
|
||||
|
||||
Reference in New Issue
Block a user