提交 8694859e 编写于 作者: J jp9000

image-source: Actually defer slideshow, not image source

The previous commit in this module meant to defer the properties update
of the slideshow source, not the image source.  Wrong file was modified.
上级 d17ee208
......@@ -230,8 +230,6 @@ static obs_properties_t *image_source_properties(void *data)
obs_properties_t *props = obs_properties_create();
obs_properties_set_flags(props, OBS_PROPERTIES_DEFER_UPDATE);
if (s && s->file && *s->file) {
const char *slash;
......
......@@ -908,6 +908,8 @@ static obs_properties_t *ss_properties(void *data)
/* ----------------- */
obs_properties_set_flags(ppts, OBS_PROPERTIES_DEFER_UPDATE);
obs_get_video_info(&ovi);
cx = (int)ovi.base_width;
cy = (int)ovi.base_height;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册