gst/audioconvert/gstaudioconvert.c: Convert me to BaseTransform!! help..

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link_src):
Convert me to BaseTransform!! help..
This commit is contained in:
Wim Taymans 2005-07-29 17:07:39 +00:00
parent 708deec535
commit a6d89f51fa
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-07-29 Wim Taymans <wim@fluendo.com>
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link_src):
Convert me to BaseTransform!! help..
2005-07-29 Andy Wingo <wingo@pobox.com>
* ext/alsa/gstalsaplugin.c (plugin_init): We are primary audio

View file

@ -431,6 +431,10 @@ gst_audio_convert_link_src (GstAudioConvert * this,
"rate", G_TYPE_INT, sink_ac_caps->rate,
"channels", G_TYPE_INT, sink_ac_caps->channels, NULL);
/* if there is a choice, prefer no conversion */
gst_caps_structure_fixate_field_nearest_int (structure,
"endianness", sink_ac_caps->endianness);
if (strcmp (gst_structure_get_name (structure), "audio/x-raw-float") == 0) {
if (!sink_ac_caps->is_int) {
/* copy over */