summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-02-27 20:33:32 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-02-27 20:35:10 +0200
commit263efc350dfc4bcfd454b828b43e82861e42e7a1 (patch)
treefd50245f41247e3c84fd53a4d53815ad38978ed0
parent0708c89706601a858a815b5d1fa6c03b4158e215 (diff)
downloadgstreamer-plugins-good-263efc350dfc4bcfd454b828b43e82861e42e7a1.tar.gz
goom: Use goom_set_resolution() instead of recreating the goom instance when the resolution changes
https://bugzilla.gnome.org/show_bug.cgi?id=762765
-rw-r--r--gst/goom/gstgoom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c
index 6700f75c9..1e86ac51f 100644
--- a/gst/goom/gstgoom.c
+++ b/gst/goom/gstgoom.c
@@ -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;
}