Merge pull request #117479 from dsnopek/movie-writer-missing-get-supported-extensions

Add missing `GDVIRTUAL_BIND(_get_supported_extensions)` on `MovieWriter`
This commit is contained in:
Thaddeus Crews committed 2026-03-16 11:33:10 -05:00
commit a9afde8405
2 files changed
+7

No files matched your search

+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")