glmixerbin: slightly better pad/element creation
authorMatthew Waters <matthew@centricular.com>
Sun, 27 Mar 2022 05:35:14 +0000 (16:35 +1100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 27 Mar 2022 05:38:37 +0000 (05:38 +0000)
commitb2232c5c9a1188c700ce5057765ef0335ae19b27
treea5bc8a5ce244a9bef91c1b470cf63a9c819b27f8
parent2e69886a0266bc7ed21016baf462700c210c0a40
glmixerbin: slightly better pad/element creation

Use the return value from gst_element_link_pads() and gst_bin_add()

Fixes:

../ext/gl/gstglmixerbin.c:305:12: error: variable 'res' set but not used [-Werror,-Wunused-but-set-variable]
  gboolean res = TRUE;
           ^

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2038>
subprojects/gst-plugins-base/ext/gl/gstglmixerbin.c