Merge pull request #57537 from noidexe/fix-theora-video-playback
This commit is contained in:
commit
232bf54a68
1 changed files with 1 additions and 0 deletions
|
@ -337,6 +337,7 @@ void VideoStreamPlaybackTheora::set_file(const String &p_file) {
|
||||||
Ref<Image> img;
|
Ref<Image> img;
|
||||||
img.instantiate();
|
img.instantiate();
|
||||||
img->create(w, h, false, Image::FORMAT_RGBA8);
|
img->create(w, h, false, Image::FORMAT_RGBA8);
|
||||||
|
texture->create_from_image(img);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
/* tear down the partial theora setup */
|
/* tear down the partial theora setup */
|
||||||
|
|
Loading…
Reference in a new issue