You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
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:
@@ -194,7 +194,7 @@ float VideoStreamPlaybackWebm::get_playback_position() const {
|
||||
}
|
||||
|
||||
void VideoStreamPlaybackWebm::seek(float p_time) {
|
||||
//Not implemented
|
||||
WARN_PRINT_ONCE("Seeking in Theora and WebM videos is not implemented yet (it's only supported for GDNative-provided video streams).");
|
||||
}
|
||||
|
||||
void VideoStreamPlaybackWebm::set_audio_track(int p_idx) {
|
||||
|
||||
Reference in New Issue
Block a user