checking for file?
This commit is contained in:
@ -489,6 +489,9 @@ Ref<Texture> VideoStreamPlaybackTheora::get_texture() {
|
|||||||
|
|
||||||
void VideoStreamPlaybackTheora::update(float p_delta) {
|
void VideoStreamPlaybackTheora::update(float p_delta) {
|
||||||
|
|
||||||
|
if (!file)
|
||||||
|
return;
|
||||||
|
|
||||||
if (!playing || paused) {
|
if (!playing || paused) {
|
||||||
//printf("not playing\n");
|
//printf("not playing\n");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user