diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-10-04 11:18:19 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-10-04 11:18:19 +0200 |
commit | fc5849ef116307285e28efb7e62f6c26d1089dda (patch) | |
tree | e830becfe7e29f486c80eeca389a52d7c25b20d4 /plugins/elements | |
parent | d5b81aba6af51f2784b5200088478218c9a1b390 (diff) |
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.
Diffstat (limited to 'plugins/elements')
-rw-r--r-- | plugins/elements/gstcapsfilter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/elements/gstcapsfilter.c b/plugins/elements/gstcapsfilter.c index 5fa2ab3ba..fd6a09431 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 (); } |