You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Refactor VideoPlayer and VideoStream
VideoStream: - Fix const correctenss VideoPlayer: - Remove unused member variable last_frame - Move _mix_audios function definition to source file - Fix function parameter naming to match p_ convention - Fix const correctness - Add null checking
This commit is contained in:
@@ -230,7 +230,7 @@ void VideoStreamPlaybackWebm::set_audio_track(int p_idx) {
|
||||
audio_track = p_idx;
|
||||
}
|
||||
|
||||
Ref<Texture> VideoStreamPlaybackWebm::get_texture() {
|
||||
Ref<Texture> VideoStreamPlaybackWebm::get_texture() const {
|
||||
|
||||
return texture;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user