mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
capsfilter: Add GAP flag support
capsfilter doesn't actually touch the data so we don't want the GAP flag to be unset by basetransform. Fixes bug #586566.
This commit is contained in:
parent
c825cc18c6
commit
26d91daacb
1 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,8 @@ gst_capsfilter_class_init (GstCapsFilterClass * klass)
|
||||||
static void
|
static void
|
||||||
gst_capsfilter_init (GstCapsFilter * filter, GstCapsFilterClass * g_class)
|
gst_capsfilter_init (GstCapsFilter * filter, GstCapsFilterClass * g_class)
|
||||||
{
|
{
|
||||||
|
GstBaseTransform *trans = GST_BASE_TRANSFORM (filter);
|
||||||
|
gst_base_transform_set_gap_aware (trans, TRUE);
|
||||||
filter->filter_caps = gst_caps_new_any ();
|
filter->filter_caps = gst_caps_new_any ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue