mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
capsfilter: don't prefer passthrough
Basetransform should not try to negotiate in passthrough mode but respect the order of what we return in the transform_caps method. A typical case is that you specify some specific new caps in the caps property but also allow the current caps to pass.
This commit is contained in:
parent
d5b81aba6a
commit
fc5849ef11
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ gst_capsfilter_init (GstCapsFilter * filter)
|
||||||
{
|
{
|
||||||
GstBaseTransform *trans = GST_BASE_TRANSFORM (filter);
|
GstBaseTransform *trans = GST_BASE_TRANSFORM (filter);
|
||||||
gst_base_transform_set_gap_aware (trans, TRUE);
|
gst_base_transform_set_gap_aware (trans, TRUE);
|
||||||
|
gst_base_transform_set_prefer_passthrough (trans, FALSE);
|
||||||
filter->filter_caps = gst_caps_new_any ();
|
filter->filter_caps = gst_caps_new_any ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue