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:
ca7fa6a
)
adapter: Check if meta transform_func is NULL before using it
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 2 May 2017 11:27:14 +0000
(14:27 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 2 May 2017 11:27:14 +0000
(14:27 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=782050
libs/gst/base/gstadapter.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstadapter.c
b/libs/gst/base/gstadapter.c
index 6c56c41f9a3792fe4f0ef8a5a454876bfadf1139..e3dff288fc5a008e67c71bc5eaa8995c8c2a28b8 100644
(file)
--- a/
libs/gst/base/gstadapter.c
+++ b/
libs/gst/base/gstadapter.c
@@
-929,7
+929,7
@@
foreach_metadata (GstBuffer * inbuf, GstMeta ** meta, gpointer user_data)
GST_DEBUG ("copying metadata %s", g_type_name (info->api));
}
- if (do_copy) {
+ if (do_copy
&& info->transform_func
) {
GstMetaTransformCopy copy_data = { FALSE, 0, -1 };
GST_DEBUG ("copy metadata %s", g_type_name (info->api));
/* simply copy then */