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:
961ee19
)
uri: add guard to make sure gstreamer is initialized
author
Tim-Philipp Müller
<tim@centricular.com>
Tue, 2 Feb 2016 10:56:35 +0000
(10:56 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 2 Feb 2016 10:56:35 +0000
(10:56 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=761448
gst/gsturi.c
patch
|
blob
|
history
diff --git
a/gst/gsturi.c
b/gst/gsturi.c
index
8623d44
..
4ad7d3d
100644
(file)
--- a/
gst/gsturi.c
+++ b/
gst/gsturi.c
@@
-994,6
+994,9
@@
static GstUri *
_gst_uri_new (void)
{
GstUri *uri;
+
+ g_return_val_if_fail (gst_is_initialized (), NULL);
+
uri = GST_URI_CAST (g_slice_new0 (GstUri));
if (uri)