aboutsummaryrefslogtreecommitdiff
path: root/modules/webm
diff options
context:
space:
mode:
authorletheed2017-09-10 15:37:49 +0200
committerletheed2017-09-20 13:11:10 +0200
commit5ad9be4c24e9d7dc5672fdc42cea896622fe5685 (patch)
treea8811a50265edd940b00e12b9bd522e3e9b4694e /modules/webm
parentecd226c6a751f8a20766363fd1f2e1e0e2da8fba (diff)
downloadgodot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.tar.gz
godot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.tar.zst
godot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.zip
Diffstat (limited to 'modules/webm')
-rw-r--r--modules/webm/video_stream_webm.cpp4
-rw-r--r--modules/webm/video_stream_webm.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/webm/video_stream_webm.cpp b/modules/webm/video_stream_webm.cpp
index 0178ebab8..0b33ab6a7 100644
--- a/modules/webm/video_stream_webm.cpp
+++ b/modules/webm/video_stream_webm.cpp
@@ -59,7 +59,7 @@ public:
if (file) {
- if (file->get_pos() != (size_t)pos)
+ if (file->get_position() != (size_t)pos)
file->seek(pos);
if (file->get_buffer(buf, len) == len)
return 0;
@@ -204,7 +204,7 @@ float VideoStreamPlaybackWebm::get_length() const {
return 0.0f;
}
-float VideoStreamPlaybackWebm::get_pos() const {
+float VideoStreamPlaybackWebm::get_position() const {
return video_pos;
}
diff --git a/modules/webm/video_stream_webm.h b/modules/webm/video_stream_webm.h
index 9a331849b..36b0f02c5 100644
--- a/modules/webm/video_stream_webm.h
+++ b/modules/webm/video_stream_webm.h
@@ -81,7 +81,7 @@ public:
virtual float get_length() const;
- virtual float get_pos() const;
+ virtual float get_position() const;
virtual void seek_pos(float p_time);
virtual void set_audio_track(int p_idx);