a52dec: Don't claim to support upstream renegotiation

and use fixed caps on the srcpad. To correctly support
upstream renegotiation a52dec would need to check if the
caps of the downstream allocated buffer are the requested
caps or if the size is different.

Fixes bug #665989.
This commit is contained in:
Sebastian Dröge 2011-12-13 14:54:18 +01:00
parent cdf8d0f6b2
commit 220b88fcc1

View file

@ -224,6 +224,7 @@ gst_a52dec_init (GstA52Dec * a52dec, GstA52DecClass * g_class)
gst_element_add_pad (GST_ELEMENT (a52dec), a52dec->sinkpad);
a52dec->srcpad = gst_pad_new_from_static_template (&src_factory, "src");
gst_pad_use_fixed_caps (a52dec->srcpad);
gst_element_add_pad (GST_ELEMENT (a52dec), a52dec->srcpad);
a52dec->request_channels = A52_CHANNEL;