summaryrefslogtreecommitdiff
path: root/lib/jpg-source.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jpg-source.c')
-rw-r--r--lib/jpg-source.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/jpg-source.c b/lib/jpg-source.c
index c95d76c..1cc0052 100644
--- a/lib/jpg-source.c
+++ b/lib/jpg-source.c
@@ -149,6 +149,7 @@ struct video_source *jpg_video_source_create(const char *img_path)
memset(src, 0, sizeof *src);
src->src.ops = &jpg_source_ops;
+ src->src.type = VIDEO_SOURCE_STATIC;
fd = open(img_path, O_RDONLY);
if (fd == -1) {