Commit 03d2ae15 authored by Sebastian Dröge's avatar Sebastian Dröge

goom: Use goom_set_resolution() instead of recreating the goom instance when the resolution changes
parent bd0d2a3d
...@@ -154,6 +154,7 @@ gst_goom_setup (GstAudioVisualizer * base) ...@@ -154,6 +154,7 @@ gst_goom_setup (GstAudioVisualizer * base)
goom->width = GST_VIDEO_INFO_WIDTH (&base->vinfo); goom->width = GST_VIDEO_INFO_WIDTH (&base->vinfo);
goom->height = GST_VIDEO_INFO_HEIGHT (&base->vinfo); goom->height = GST_VIDEO_INFO_HEIGHT (&base->vinfo);
goom_set_resolution (goom->plugin, goom->width, goom->height);
return TRUE; return TRUE;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment