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
60b99e7
..
75a1c3f
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)
{
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;
}
return context->persistent;
}