Add missing GDVIRTUAL_BIND(_get_supported_extensions) on MovieWriter

This commit is contained in:
David Snopek
2026-03-16 11:11:12 -05:00
parent 874f500acb
commit 475e7452eb
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -30,6 +30,12 @@
Called when the audio speaker mode used for recording the audio is requested by the engine. This can affect the number of output channels in the resulting audio file/stream. Defaults to [constant AudioServer.SPEAKER_MODE_STEREO] if [method _get_audio_speaker_mode] is not overridden.
</description>
</method>
<method name="_get_supported_extensions" qualifiers="virtual required const">
<return type="PackedStringArray" />
<description>
Returns the list of supported filename extensions for movies written with this [MovieWriter].
</description>
</method>
<method name="_handles_file" qualifiers="virtual required const">
<return type="bool" />
<param index="0" name="path" type="String" />
+1
View File
@@ -142,6 +142,7 @@ void MovieWriter::_bind_methods() {
GDVIRTUAL_BIND(_get_audio_speaker_mode)
GDVIRTUAL_BIND(_handles_file, "path")
GDVIRTUAL_BIND(_get_supported_extensions)
GDVIRTUAL_BIND(_write_begin, "movie_size", "fps", "base_path")
GDVIRTUAL_BIND(_write_frame, "frame_image", "audio_frame_block")