projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
291991d
)
gstcontext: Fix return values some more
author
Edward Hervey
<edward@collabora.com>
Thu, 19 Sep 2013 10:07:56 +0000
(12:07 +0200)
committer
Edward Hervey
<edward@collabora.com>
Thu, 19 Sep 2013 10:07:56 +0000
(12:07 +0200)
Return value is a boolean not a pointer
gst/gstcontext.c
patch
|
blob
|
history
diff --git
a/gst/gstcontext.c
b/gst/gstcontext.c
index 60b99e774c0e0162254a3077c7e573360b5d3506..75a1c3f6dd2c380521ee180f6569e52acbe754b0 100644
(file)
--- a/
gst/gstcontext.c
+++ b/
gst/gstcontext.c
@@
-266,7
+266,7
@@
gst_context_writable_structure (GstContext * context)
gboolean
gst_context_is_persistent (const GstContext * context)
{
- g_return_val_if_fail (GST_IS_CONTEXT (context),
NULL
);
+ g_return_val_if_fail (GST_IS_CONTEXT (context),
FALSE
);
return context->persistent;
}