summaryrefslogtreecommitdiff
path: root/scene/resources/video_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/video_stream.h')
-rw-r--r--scene/resources/video_stream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/video_stream.h b/scene/resources/video_stream.h
index ce01a766ca..bcd25c0336 100644
--- a/scene/resources/video_stream.h
+++ b/scene/resources/video_stream.h
@@ -35,7 +35,7 @@
class VideoStreamPlayback : public Resource {
- OBJ_TYPE(VideoStreamPlayback,Resource);
+ GDCLASS(VideoStreamPlayback,Resource);
protected:
static void _bind_methods();
@@ -77,7 +77,7 @@ public:
class VideoStream : public Resource {
- OBJ_TYPE( VideoStream, Resource );
+ GDCLASS( VideoStream, Resource );
OBJ_SAVE_TYPE( VideoStream ); //children are all saved as AudioStream, so they can be exchanged
public: