summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdham Zahran <adham.zahran@hotmail.com>2016-02-07 21:52:25 +0200
committerAdham Zahran <adham.zahran@hotmail.com>2016-02-08 12:11:26 +0200
commit6be6d02daf8d264229d1328330270a834f8c2916 (patch)
tree181eea46d83d2d7afd0749e05ec2c46c2cdd5ef2
parent485e772d376f148c11d776e3219dd8d1a6a30e2a (diff)
renamed function get_video_texutre to get_video_texture
-rw-r--r--doc/base/classes.xml2
-rw-r--r--scene/gui/video_player.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index f904f6e742..df488c3c09 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -39343,7 +39343,7 @@ This method controls whether the position between two cached points is interpola
<description>
</description>
</method>
- <method name="get_video_texutre">
+ <method name="get_video_texture">
<return type="Texture">
</return>
<description>
diff --git a/scene/gui/video_player.cpp b/scene/gui/video_player.cpp
index 517cd414c5..fc7cc0a362 100644
--- a/scene/gui/video_player.cpp
+++ b/scene/gui/video_player.cpp
@@ -393,7 +393,7 @@ void VideoPlayer::_bind_methods() {
ObjectTypeDB::bind_method(_MD("set_buffering_msec","msec"),&VideoPlayer::set_buffering_msec);
ObjectTypeDB::bind_method(_MD("get_buffering_msec"),&VideoPlayer::get_buffering_msec);
- ObjectTypeDB::bind_method(_MD("get_video_texutre:Texture"), &VideoPlayer::get_video_texture );
+ ObjectTypeDB::bind_method(_MD("get_video_texture:Texture"), &VideoPlayer::get_video_texture );
ADD_PROPERTY( PropertyInfo(Variant::INT, "stream/audio_track",PROPERTY_HINT_RANGE,"0,128,1"), _SCS("set_audio_track"), _SCS("get_audio_track") );
ADD_PROPERTY( PropertyInfo(Variant::OBJECT, "stream/stream", PROPERTY_HINT_RESOURCE_TYPE,"VideoStream"), _SCS("set_stream"), _SCS("get_stream") );