diff options
| author | Marcelo Fernandez | 2017-09-21 00:31:36 -0300 |
|---|---|---|
| committer | Rémi Verschelde | 2017-09-23 16:55:00 +0200 |
| commit | 46af050e93ddda77fd6316b0d041b8e9e6f0cd49 (patch) | |
| tree | e155e527741cfc132b82b52014967849d30b812f /modules/webm | |
| parent | 650e0cf3186df2239cbcb6c178533a09732f3f02 (diff) | |
| download | godot-46af050e93ddda77fd6316b0d041b8e9e6f0cd49.tar.gz godot-46af050e93ddda77fd6316b0d041b8e9e6f0cd49.tar.zst godot-46af050e93ddda77fd6316b0d041b8e9e6f0cd49.zip | |
Diffstat (limited to 'modules/webm')
| -rw-r--r-- | modules/webm/video_stream_webm.cpp | 4 | ||||
| -rw-r--r-- | modules/webm/video_stream_webm.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/webm/video_stream_webm.cpp b/modules/webm/video_stream_webm.cpp index 0b33ab6a7..2ec6b2747 100644 --- a/modules/webm/video_stream_webm.cpp +++ b/modules/webm/video_stream_webm.cpp @@ -204,11 +204,11 @@ float VideoStreamPlaybackWebm::get_length() const { return 0.0f; } -float VideoStreamPlaybackWebm::get_position() const { +float VideoStreamPlaybackWebm::get_playback_position() const { return video_pos; } -void VideoStreamPlaybackWebm::seek_pos(float p_time) { +void VideoStreamPlaybackWebm::seek(float p_time) { //Not implemented } diff --git a/modules/webm/video_stream_webm.h b/modules/webm/video_stream_webm.h index 36b0f02c5..fc0720967 100644 --- a/modules/webm/video_stream_webm.h +++ b/modules/webm/video_stream_webm.h @@ -81,8 +81,8 @@ public: virtual float get_length() const; - virtual float get_position() const; - virtual void seek_pos(float p_time); + virtual float get_playback_position() const; + virtual void seek(float p_time); virtual void set_audio_track(int p_idx); |
