summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-09-19 11:49:26 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-09-19 11:49:26 +0200
commit291991dac253505cb8b5f1b9c40939d4e831004c (patch)
treecf34668103ecf806845c10368f7aab4eedbdb0e9
parente6acc1462fc657e54eacdd7529ae9763c45580b8 (diff)
context: Fix return values for gst_context_has_context_type() in assertions
-rw-r--r--gst/gstcontext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstcontext.c b/gst/gstcontext.c
index d8c7e5cb5..60b99e774 100644
--- a/gst/gstcontext.c
+++ b/gst/gstcontext.c
@@ -205,8 +205,8 @@ gboolean
gst_context_has_context_type (const GstContext * context,
const gchar * context_type)
{
- g_return_val_if_fail (GST_IS_CONTEXT (context), NULL);
- g_return_val_if_fail (context_type != NULL, NULL);
+ g_return_val_if_fail (GST_IS_CONTEXT (context), FALSE);
+ g_return_val_if_fail (context_type != NULL, FALSE);
return strcmp (context->context_type, context_type) == 0;
}