mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
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:
parent
bd0d2a3d7d
commit
03d2ae154e
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue