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:33:32 +0200
commit03d2ae154e3a36053494912185c0d1964633f30b (patch)
tree7f61e84082b8d4b92f87701af616fa4eb5ceb99a
parentbd0d2a3d7de8149dd4840a882fdcfa09d663d5d4 (diff)
downloadgstreamer-plugins-good-03d2ae154e3a36053494912185c0d1964633f30b.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;
}