gst/law/: The encoder can't really renegotiate at the time they perform a pad-alloc...
authorWim Taymans <wim.taymans@gmail.com>
Mon, 25 Aug 2008 09:48:06 +0000 (09:48 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 25 Aug 2008 09:48:06 +0000 (09:48 +0000)
commitc0826dc21d0ee5c7119354fe1da9a499cef44905
treeb6b49edeb69af322a87ed643478ad6644e8c7da5
parent4cefe7e94477e1b097638b30718b4f99640de7b3
gst/law/: The encoder can't really renegotiate at the time they perform a pad-alloc so make the srcpads use fixed caps.

Original commit message from CVS:
* gst/law/alaw-encode.c: (gst_alaw_enc_init), (gst_alaw_enc_chain):
* gst/law/mulaw-conversion.c:
* gst/law/mulaw-encode.c: (gst_mulawenc_init),
(gst_mulawenc_chain):
The encoder can't really renegotiate at the time they perform a
pad-alloc so make the srcpads use fixed caps.
Check the buffer size after a pad-alloc because the returned size might
not be right when the downstream element does not know the size of the
new buffer (capsfilter). Fixes #549073.
ChangeLog
gst/law/alaw-encode.c
gst/law/mulaw-conversion.c
gst/law/mulaw-encode.c