mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
basetransform: Don't unset GAP flag if working in passthrough mode
Fixes bug #589314.
This commit is contained in:
parent
4385e707b1
commit
6fd97a6d64
1 changed files with 3 additions and 2 deletions
|
@ -1369,8 +1369,9 @@ gst_base_transform_prepare_output_buffer (GstBaseTransform * trans,
|
||||||
}
|
}
|
||||||
gst_buffer_set_caps (*out_buf, GST_PAD_CAPS (trans->srcpad));
|
gst_buffer_set_caps (*out_buf, GST_PAD_CAPS (trans->srcpad));
|
||||||
|
|
||||||
/* clear the GAP flag when the subclass does not understand it */
|
/* clear the GAP flag when the subclass does not understand it
|
||||||
if (!trans->priv->gap_aware)
|
* and passthrough mode is not used */
|
||||||
|
if (!trans->priv->gap_aware && !trans->passthrough)
|
||||||
GST_BUFFER_FLAG_UNSET (*out_buf, GST_BUFFER_FLAG_GAP);
|
GST_BUFFER_FLAG_UNSET (*out_buf, GST_BUFFER_FLAG_GAP);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue