summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2014-10-24 13:09:42 +0100
committerWim Taymans <wtaymans@redhat.com>2015-09-07 13:30:49 +0200
commit94ab7b84994fdf4a76bcfcefc91fda8fb36dd8d1 (patch)
treef403a16d8ff3904f82e092bc4a99beb0226469d5
parent1327829fb263bc485351ee1c1c1bb6addc211fd4 (diff)
tests: fix playbin-complex test on big endianrhel-7.3rhel-7.2
-rw-r--r--tests/check/elements/playbin-complex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/check/elements/playbin-complex.c b/tests/check/elements/playbin-complex.c
index 706cb47a6..f59a103e8 100644
--- a/tests/check/elements/playbin-complex.c
+++ b/tests/check/elements/playbin-complex.c
@@ -26,7 +26,7 @@
#include <gst/check/gstcheck.h>
#include <gst/base/gstpushsrc.h>
#include <gst/base/gstbasesink.h>
-#include <gst/audio/streamvolume.h>
+#include <gst/audio/audio.h>
#include <gst/video/gstvideodecoder.h>
#ifndef GST_DISABLE_REGISTRY
@@ -521,7 +521,7 @@ gst_codec_demuxer_setup_pad (GstCodecDemuxer * demux, GstPad ** pad,
caps = gst_caps_new_empty_simple ("video/x-compressed");
} else if (g_str_equal (streaminfo, "raw-audio")) {
caps = gst_caps_new_simple ("audio/x-raw",
- "format", G_TYPE_STRING, "S16LE",
+ "format", G_TYPE_STRING, GST_AUDIO_NE (S16),
"layout", G_TYPE_STRING, "interleaved",
"rate", G_TYPE_INT, 48000, "channels", G_TYPE_INT, 2, NULL);
} else {
@@ -1222,7 +1222,7 @@ GST_START_TEST (test_raw_single_audio_stream_manual_sink)
playbin =
create_playbin
("caps:audio/x-raw,"
- " format=(string)S16LE, " "layout=(string)interleaved, "
+ " format=(string)" GST_AUDIO_NE (S16) ", " "layout=(string)interleaved, "
" rate=(int)48000, " " channels=(int)2", TRUE);
fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),