on_changed (GSettings * settings, gchar * key, GstGSettingsAudioSink * sink)
{
gboolean changed = FALSE;
- if (!g_str_has_suffix (key, "audiosink"));
- return;
+
+ if (!g_str_has_suffix (key, "audiosink"))
+ return;
GST_OBJECT_LOCK (sink);
if ((sink->profile == GST_GSETTINGS_AUDIOSINK_PROFILE_SOUNDS &&
static void
on_changed (GSettings * settings, gchar * key, GstGSettingsAudioSrc * src)
{
- if (!g_str_equal (key, "audiosrc"));
- return;
+ if (!g_str_equal (key, "audiosrc"))
+ return;
gst_gsettings_audio_src_change_child (src);
}
static void
on_changed (GSettings * settings, gchar * key, GstGSettingsVideoSink * sink)
{
- if (!g_str_has_suffix (key, "videosink"));
- return;
+ if (!g_str_has_suffix (key, "videosink"))
+ return;
gst_gsettings_video_sink_change_child (sink);
}
static void
on_changed (GSettings * settings, gchar * key, GstGSettingsVideoSrc * src)
{
- if (!g_str_equal (key, "videosrc"));
- return;
+ if (!g_str_equal (key, "videosrc"))
+ return;
gst_gsettings_video_src_change_child (src);
}