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:
parent
35944aebde
commit
61bda112bd
9 changed files with 28 additions and 16 deletions
|
|
@ -279,7 +279,7 @@ void VideoStreamPlaybackGDNative::set_paused(bool p_paused) {
|
|||
paused = p_paused;
|
||||
}
|
||||
|
||||
Ref<Texture> VideoStreamPlaybackGDNative::get_texture() {
|
||||
Ref<Texture> VideoStreamPlaybackGDNative::get_texture() const {
|
||||
return texture;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue