tests: fix rgvolume test on big-endian systems

This commit is contained in:
Tim-Philipp Müller 2014-10-25 00:56:02 +01:00
parent e6f6d9045c
commit 146702e226

View file

@ -162,7 +162,7 @@ send_caps_event (GstElement * element)
GstCaps *caps; GstCaps *caps;
gboolean res; gboolean res;
caps = gst_caps_from_string ("audio/x-raw, format = F32LE, " caps = gst_caps_from_string ("audio/x-raw, format = " GST_AUDIO_NE (F32) ", "
"layout = interleaved, rate = 8000, channels = 1"); "layout = interleaved, rate = 8000, channels = 1");
res = gst_pad_push_event (mysrcpad, gst_event_new_caps (caps)); res = gst_pad_push_event (mysrcpad, gst_event_new_caps (caps));
fail_unless (res, "CAPS event not handled"); fail_unless (res, "CAPS event not handled");