summaryrefslogtreecommitdiff
path: root/lib/slideshow-source.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/slideshow-source.c')
-rw-r--r--lib/slideshow-source.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/slideshow-source.c b/lib/slideshow-source.c
index 42a42a9..6eeab72 100644
--- a/lib/slideshow-source.c
+++ b/lib/slideshow-source.c
@@ -367,6 +367,7 @@ struct video_source *slideshow_video_source_create(const char *img_dir)
memset(src, 0, sizeof *src);
src->src.ops = &slideshow_source_ops;
+ src->src.type = VIDEO_SOURCE_STATIC;
strncpy(src->img_dir, img_dir, sizeof(src->img_dir));