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.
This commit is contained in:
jp9000 2019-02-19 11:59:46 -08:00
parent d17ee20863
commit 8694859e85
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;