GNOME Bugzilla – Bug 320532
[faac] set output samplerate and number of channels
Last modified: 2005-11-16 18:11:24 UTC
Because gst_faac_src_setcaps was set as a setcaps function of the srcpad, it was called recursively and soemhow it cleared the rate and channels fields from the capabilities. So the downstream elements could not find out the rate and channels, which caused many problems. The attached patch does not set the setcaps function for srcpad, and stops trying to set caps of srcpad when it has already succeeded.
Created attachment 54235 [details] [review] Caps fixed
Should be fixed now (I fixed it a bit differently, as it all looked a bit dodgy). Please reopen the bug if it still does not work for you. 2005-11-15 Tim-Philipp Muller <tim at centricular dot net> * ext/faac/gstfaac.c: (gst_faac_base_init), (gst_faac_init), (gst_faac_sink_setcaps), (gst_faac_configure_source_pad), (gst_faac_chain): Set proper caps on source pad (#320532). Cheers -Tim
It works well.
Thanks for confirming. Marking at RESOLVED again to make sure Thomas' release scripts don't miss it.