diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/gstpadtemplate.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/gstpadtemplate.c b/gst/gstpadtemplate.c index ca2f949653..8bf5ae0fee 100644 --- a/gst/gstpadtemplate.c +++ b/gst/gstpadtemplate.c @@ -256,10 +256,9 @@ gst_pad_template_dispose (GObject * object) * 'sink%d' template is automatically selected), so we need to restrict their * naming. */ -static inline gboolean +static gboolean name_is_valid (const gchar * name, GstPadPresence presence) { -#ifndef G_DISABLE_ASSERT const gchar *str; if (presence == GST_PAD_ALWAYS) { @@ -285,7 +284,7 @@ name_is_valid (const gchar * name, GstPadPresence presence) return FALSE; } } -#endif + return TRUE; } |