From fc5849ef116307285e28efb7e62f6c26d1089dda Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 4 Oct 2012 11:18:19 +0200 Subject: [PATCH] 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. --- plugins/elements/gstcapsfilter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/elements/gstcapsfilter.c b/plugins/elements/gstcapsfilter.c index 5fa2ab3ba7..fd6a09431b 100644 --- a/plugins/elements/gstcapsfilter.c +++ b/plugins/elements/gstcapsfilter.c @@ -128,6 +128,7 @@ gst_capsfilter_init (GstCapsFilter * filter) { GstBaseTransform *trans = GST_BASE_TRANSFORM (filter); gst_base_transform_set_gap_aware (trans, TRUE); + gst_base_transform_set_prefer_passthrough (trans, FALSE); filter->filter_caps = gst_caps_new_any (); }