diff options
author | Hyunjun Ko <zzoon.ko@samsung.com> | 2015-07-07 10:46:48 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-07-07 13:40:17 +0300 |
commit | eaf4153668626752bad8a5e17e7cb6812d4c3bca (patch) | |
tree | 61cf60e2b19f0ae2339bce72447e30f49b3e9573 /gst | |
parent | ee63702d619c92185a33d67e66351f8777998c81 (diff) |
meta: transform_func: return FALSE if not supported or failed
https://bugzilla.gnome.org/show_bug.cgi?id=751778
Diffstat (limited to 'gst')
-rw-r--r-- | gst/gstbuffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/gstbuffer.c b/gst/gstbuffer.c index 56b190a4b..c1f0ebb91 100644 --- a/gst/gstbuffer.c +++ b/gst/gstbuffer.c @@ -2331,6 +2331,9 @@ _gst_parent_buffer_meta_transform (GstBuffer * dest, GstMeta * meta, GST_CAT_DEBUG (gst_parent_buffer_meta_debug, "copy buffer reference metadata"); + } else { + /* return FALSE, if transform type is not supported */ + return FALSE; } return TRUE; } |