Original commit message from CVS:
* gst/audioconvert/gstchannelmix.h:
include missing header file
* gst/audioconvert/gstchannelmix.c:
(gst_audio_convert_fill_compatible):
use same sign for both channels when converting to/from compatible
channel. Previously used different signs made the signals cancel
each other out and appear like silence. (fixes #167269)
+2005-02-13 Benjamin Otte <otte@gnome.org>
+
+ * gst/audioconvert/gstchannelmix.h:
+ include missing header file
+ * gst/audioconvert/gstchannelmix.c:
+ (gst_audio_convert_fill_compatible):
+ use same sign for both channels when converting to/from compatible
+ channel. Previously used different signs made the signals cancel
+ each other out and appear like silence. (fixes #167269)
+
2005-02-12 Tim-Philipp Müller <tim at centricular dot net>
* gst/ffmpegcolorspace/avcodec.h:
}
if (pos1_0 != -1 && pos1_1 != -1 && pos2_0 != -1) {
- this->matrix[pos1_0][pos2_0] = -1.0;
+ this->matrix[pos1_0][pos2_0] = 1.0;
this->matrix[pos1_1][pos2_0] = 1.0;
}
}
if (pos1_0 != -1 && pos1_1 != -1 && pos2_0 != -1) {
- this->matrix[pos2_0][pos1_0] = -1.0;
+ this->matrix[pos2_0][pos1_0] = 1.0;
this->matrix[pos2_0][pos1_1] = 1.0;
}
}
#define __GST_CHANNEL_MIX_H__
#include <gst/gst.h>
+#include <gst/audio/multichannel.h>
#define GST_TYPE_AUDIO_CONVERT (gst_audio_convert_get_type())
#define GST_AUDIO_CONVERT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIO_CONVERT,GstAudioConvert))