goom: Use goom_set_resolution() instead of recreating the goom instance when the resolution changes

https://bugzilla.gnome.org/show_bug.cgi?id=762765
This commit is contained in:
Sebastian Dröge 2016-02-27 20:33:32 +02:00
parent bd0d2a3d7d
commit 03d2ae154e

View file

@ -154,6 +154,7 @@ gst_goom_setup (GstAudioVisualizer * base)
goom->width = GST_VIDEO_INFO_WIDTH (&base->vinfo);
goom->height = GST_VIDEO_INFO_HEIGHT (&base->vinfo);
goom_set_resolution (goom->plugin, goom->width, goom->height);
return TRUE;
}