Commit fa454a62 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

tests: fix audioresample unit test for big-endian systems

parent b3771378
......@@ -837,9 +837,8 @@ GST_START_TEST (test_timestamp_drift)
capsfilter1 = gst_element_factory_make ("capsfilter", "capsfilter1");
fail_unless (capsfilter1 != NULL);
caps =
gst_caps_from_string
("audio/x-raw, format=F64LE, channels=1, rate=16384");
caps = gst_caps_from_string ("audio/x-raw, format=" GST_AUDIO_NE (F64)
", channels=1, rate=16384");
g_object_set (G_OBJECT (capsfilter1), "caps", caps, NULL);
gst_caps_unref (caps);
......@@ -853,8 +852,8 @@ GST_START_TEST (test_timestamp_drift)
fail_unless (audioresample != NULL);
capsfilter2 = gst_element_factory_make ("capsfilter", "capsfilter2");
fail_unless (capsfilter2 != NULL);
caps =
gst_caps_from_string ("audio/x-raw, format=F64LE, channels=1, rate=4096");
caps = gst_caps_from_string ("audio/x-raw, format=" GST_AUDIO_NE (F64)
", channels=1, rate=4096");
g_object_set (G_OBJECT (capsfilter2), "caps", caps, NULL);
gst_caps_unref (caps);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment