]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gst-plugins-ugly0-10.git/commit
lamemp3enc: implement sinkpad get_caps() function to proxy rate and channels restrict...
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 3 Feb 2011 18:18:35 +0000 (18:18 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 3 Feb 2011 18:27:05 +0000 (18:27 +0000)
commit7417ad6d5feb74696b030a179f390656ecaf7ac7
tree167679f2f0a5e1988c7586daa33b3b2583cc4040
parent67f754a9ea60052a023dfb2a3cc919bda80dbea8
lamemp3enc: implement sinkpad get_caps() function to proxy rate and channels restrictions from downstream

The element downstream of mp3enc might only accept certain sample rates or channels,
make sure we relay any restrictions that do exist to upstream when it does a
get_caps() on the sink pad. That way upstream elements like audioresample or
audioconvert can pick a sample rate / channel configuration that will be accepted,
instead of just negotiating to the highest, which might then be rejected.

https://bugzilla.gnome.org/show_bug.cgi?id=641151
ext/lame/gstlamemp3enc.c