Blame SOURCES/0002-tests-fix-playbin-complex-test-on-big-endian.patch

809943
From 94ab7b84994fdf4a76bcfcefc91fda8fb36dd8d1 Mon Sep 17 00:00:00 2001
809943
From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com>
809943
Date: Fri, 24 Oct 2014 13:09:42 +0100
809943
Subject: [PATCH 2/2] tests: fix playbin-complex test on big endian
809943
809943
---
809943
 tests/check/elements/playbin-complex.c | 6 +++---
809943
 1 file changed, 3 insertions(+), 3 deletions(-)
809943
809943
diff --git a/tests/check/elements/playbin-complex.c b/tests/check/elements/playbin-complex.c
809943
index 706cb47..f59a103 100644
809943
--- a/tests/check/elements/playbin-complex.c
809943
+++ b/tests/check/elements/playbin-complex.c
809943
@@ -26,7 +26,7 @@
809943
 #include <gst/check/gstcheck.h>
809943
 #include <gst/base/gstpushsrc.h>
809943
 #include <gst/base/gstbasesink.h>
809943
-#include <gst/audio/streamvolume.h>
809943
+#include <gst/audio/audio.h>
809943
 #include <gst/video/gstvideodecoder.h>
809943
 
809943
 #ifndef GST_DISABLE_REGISTRY
809943
@@ -521,7 +521,7 @@ gst_codec_demuxer_setup_pad (GstCodecDemuxer * demux, GstPad ** pad,
809943
       caps = gst_caps_new_empty_simple ("video/x-compressed");
809943
     } else if (g_str_equal (streaminfo, "raw-audio")) {
809943
       caps = gst_caps_new_simple ("audio/x-raw",
809943
-          "format", G_TYPE_STRING, "S16LE",
809943
+          "format", G_TYPE_STRING, GST_AUDIO_NE (S16),
809943
           "layout", G_TYPE_STRING, "interleaved",
809943
           "rate", G_TYPE_INT, 48000, "channels", G_TYPE_INT, 2, NULL);
809943
     } else {
809943
@@ -1222,7 +1222,7 @@ GST_START_TEST (test_raw_single_audio_stream_manual_sink)
809943
   playbin =
809943
       create_playbin
809943
       ("caps:audio/x-raw,"
809943
-      " format=(string)S16LE, " "layout=(string)interleaved, "
809943
+      " format=(string)" GST_AUDIO_NE (S16) ", " "layout=(string)interleaved, "
809943
       " rate=(int)48000, " " channels=(int)2", TRUE);
809943
 
809943
   fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_READY),
809943
-- 
809943
2.4.3
809943