summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4385e70)
raw | patch | inline | side by side (parent: 4385e70)
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | |
Wed, 22 Jul 2009 07:01:56 +0000 (09:01 +0200) | ||
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | |
Thu, 6 Aug 2009 04:41:57 +0000 (06:41 +0200) |
Fixes bug #589314.
libs/gst/base/gstbasetransform.c | patch | blob | history |
index aa3ec24cf219b527b09eba95c4ce85a7d881ebef..cf7b854768ffbbfb2e3ebf64ccf746517b2a5f4f 100644 (file)
}
gst_buffer_set_caps (*out_buf, GST_PAD_CAPS (trans->srcpad));
- /* clear the GAP flag when the subclass does not understand it */
- if (!trans->priv->gap_aware)
+ /* clear the GAP flag when the subclass does not understand it
+ * and passthrough mode is not used */
+ if (!trans->priv->gap_aware && !trans->passthrough)
GST_BUFFER_FLAG_UNSET (*out_buf, GST_BUFFER_FLAG_GAP);
return ret;