diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-02-15 01:14:52 +0100 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2018-02-15 01:32:54 +0100 |
commit | 73d2031ffcc958397f4006d14374e6fe93d9a334 (patch) | |
tree | 6e69482c86cd935ab7508d9c2f2e5cb78a7da1c3 /gst-libs | |
parent | a8ee76bd30fae439a003d84b74113e7a8d7dc219 (diff) |
gstaudiopack.orc: pack_u32be_swap: actually swap
Fixes:
gst-launch-1.0 audiotestsrc ! audio/x-raw, format=U32BE ! \
audioconvert ! autoaudiosink
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/audio/gstaudiopack.orc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/audio/gstaudiopack.orc b/gst-libs/gst/audio/gstaudiopack.orc index c13a688ce..2b7d96323 100644 --- a/gst-libs/gst/audio/gstaudiopack.orc +++ b/gst-libs/gst/audio/gstaudiopack.orc @@ -326,8 +326,10 @@ copyl d1, s1 .dest 4 d1 guint8 .source 4 s1 gint32 .const 4 c1 0x80000000 +.temp 4 t1 -xorl d1, s1, c1 +xorl t1, s1, c1 +swapl d1, t1 .function audio_orc_pack_s32_swap |