mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
tests: fix mpg123audiodec test for big-endian architectures
This commit is contained in:
parent
387e6480d6
commit
52bd182e98
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ FFT_HELPERS (gint32, S32, s32, 2147483647.0);
|
||||||
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("audio/x-raw, format = (string) S32LE ")
|
GST_STATIC_CAPS ("audio/x-raw, format = (string) " GST_AUDIO_NE (S32))
|
||||||
);
|
);
|
||||||
static GstStaticPadTemplate layer2_srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
|
static GstStaticPadTemplate layer2_srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
|
@ -321,7 +321,7 @@ run_decoding_test (GstElement * mpg123audiodec, gchar const *filename)
|
||||||
|
|
||||||
/* check caps */
|
/* check caps */
|
||||||
out_caps = gst_caps_new_simple ("audio/x-raw",
|
out_caps = gst_caps_new_simple ("audio/x-raw",
|
||||||
"format", G_TYPE_STRING, "S32LE",
|
"format", G_TYPE_STRING, GST_AUDIO_NE (S32),
|
||||||
"layout", G_TYPE_STRING, "interleaved",
|
"layout", G_TYPE_STRING, "interleaved",
|
||||||
"rate", G_TYPE_INT, 44100, "channels", G_TYPE_INT, 1, NULL);
|
"rate", G_TYPE_INT, 44100, "channels", G_TYPE_INT, 1, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue