mirror of
https://github.com/godotengine/godot
synced 2024-09-04 22:48:26 +00:00
checking for file?
This commit is contained in:
parent
3732688231
commit
5b68608b10
|
@ -489,6 +489,9 @@ Ref<Texture> VideoStreamPlaybackTheora::get_texture() {
|
|||
|
||||
void VideoStreamPlaybackTheora::update(float p_delta) {
|
||||
|
||||
if (!file)
|
||||
return;
|
||||
|
||||
if (!playing || paused) {
|
||||
//printf("not playing\n");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue