mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
context: Fix return values for gst_context_has_context_type() in assertions
This commit is contained in:
parent
e6acc1462f
commit
291991dac2
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue