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:
250f89a
)
plugin: fix case where gst_plugin_load_file() didn't set the error on failure
author
Tim-Philipp Müller
<tim@centricular.com>
Thu, 8 May 2014 16:50:50 +0000
(17:50 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 8 May 2014 16:51:31 +0000
(17:51 +0100)
gst/gstplugin.c
patch
|
blob
|
history
diff --git
a/gst/gstplugin.c
b/gst/gstplugin.c
index
c12ce4c
..
6251b14
100644
(file)
--- a/
gst/gstplugin.c
+++ b/
gst/gstplugin.c
@@
-657,6
+657,9
@@
static GMutex gst_plugin_loading_mutex;
#define CHECK_PLUGIN_DESC_FIELD(desc,field,fn) \
if (G_UNLIKELY ((desc)->field == NULL || *(desc)->field == '\0')) { \
g_warning ("Plugin description for '%s' has no valid %s field", fn, G_STRINGIFY (field)); \
+ g_set_error (error, GST_PLUGIN_ERROR, GST_PLUGIN_ERROR_MODULE, \
+ "Plugin %s has invalid plugin description field '%s'", \
+ filename, G_STRINGIFY (field)); \
goto return_error; \
}