gst/audioconvert/gstaudioconvert.c: Fix typo in width 8 conversion.

Original commit message from CVS:
2004-03-09  Colin Walters  <walters@verbum.org>

* gst/audioconvert/gstaudioconvert.c: Fix typo in width 8
conversion.
This commit is contained in:
Colin Walters 2004-03-10 04:01:50 +00:00
parent 64157f4fc8
commit e93d93afdf
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-03-09 Colin Walters <walters@verbum.org>
* gst/audioconvert/gstaudioconvert.c: Fix typo in width 8
conversion.
2004-03-09 Benjamin Otte <otte@gnome.org>
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init):

View file

@ -484,7 +484,7 @@ gst_audio_convert_buffer_to_default_format (GstAudioConvert *this, GstBuffer *bu
if (this->sinkcaps.sign) {
CONVERT_TO (cur, src, gint8, this->sinkcaps.sign, this->sinkcaps.endianness, GINT8_IDENTITY, GINT8_IDENTITY);
} else {
CONVERT_TO (cur, src, guint16, this->sinkcaps.sign, this->sinkcaps.endianness, GUINT8_IDENTITY, GUINT8_IDENTITY);
CONVERT_TO (cur, src, guint8, this->sinkcaps.sign, this->sinkcaps.endianness, GUINT8_IDENTITY, GUINT8_IDENTITY);
}
break;
case 16: