summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-04-17 08:04:43 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-04-17 08:04:43 +0000
commit9e13de6621f72f8021004aba5c247f283ac34173 (patch)
tree3d78652fb7e9094930b0641530c6d3d6b91e0cb1
parent97041d869a33e464bc5ce93d0e932d0ef828f3d3 (diff)
downloadgst-plugins-bad-9e13de6621f72f8021004aba5c247f283ac34173.tar.gz
gst-plugins-bad-9e13de6621f72f8021004aba5c247f283ac34173.tar.bz2
gst-plugins-bad-9e13de6621f72f8021004aba5c247f283ac34173.zip
gst/mve/gstmvedemux.c: Use G_LITTLE_ENDIAN instead of LITTLE_ENDIAN, so stuff compiles on
Original commit message from CVS: * gst/mve/gstmvedemux.c: (gst_mve_audio_init): Use G_LITTLE_ENDIAN instead of LITTLE_ENDIAN, so stuff compiles on MingW (no idea though why we add a BYTE_ORDER endianness field if the audio is compressed).
-rw-r--r--ChangeLog7
-rw-r--r--gst/mve/gstmvedemux.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 05aaae17..1c3e86f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-04-17 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/mve/gstmvedemux.c: (gst_mve_audio_init):
+ Use G_LITTLE_ENDIAN instead of LITTLE_ENDIAN, so stuff compiles on
+ MingW (no idea though why we add a BYTE_ORDER endianness field if
+ the audio is compressed).
+
2007-04-14 Sebastien Moutte <sebastien@moutte.net>
* docs/plugins/inspect/plugin-directdraw.xml:
diff --git a/gst/mve/gstmvedemux.c b/gst/mve/gstmvedemux.c
index ce27b324..547d92ef 100644
--- a/gst/mve/gstmvedemux.c
+++ b/gst/mve/gstmvedemux.c
@@ -706,7 +706,7 @@ gst_mve_audio_init (GstMveDemux * mve, guint8 version, const guint8 * data,
/* for uncompressed audio we can simply copy the incoming buffer
which is always in little endian format */
gst_caps_set_simple (stream->caps, "endianness", G_TYPE_INT,
- (stream->compression ? G_BYTE_ORDER : LITTLE_ENDIAN), NULL);
+ (stream->compression ? G_BYTE_ORDER : G_LITTLE_ENDIAN), NULL);
} else if (stream->compression) {
GST_WARNING_OBJECT (mve,
"compression is only supported for 16-bit samples");