mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
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:
parent
cdf8d0f6b2
commit
220b88fcc1
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue