mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 04:58:47 +00:00
tests: fix more caps
This commit is contained in:
parent
fa02111b7c
commit
c3672b88f1
1 changed files with 2 additions and 4 deletions
|
@ -228,8 +228,7 @@ GST_START_TEST (test_opus_encode_samples)
|
||||||
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1);
|
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1);
|
||||||
|
|
||||||
caps =
|
caps =
|
||||||
gst_caps_from_string
|
gst_caps_from_string ("audio/x-raw,format=S16LE,rate=48000,channels=1");
|
||||||
("audio/x-raw-int,rate=48000,channels=1,signed=true,width=16,depth=16,endianness=1234");
|
|
||||||
fail_unless (caps != NULL);
|
fail_unless (caps != NULL);
|
||||||
gst_buffer_set_caps (inbuffer, caps);
|
gst_buffer_set_caps (inbuffer, caps);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
@ -301,8 +300,7 @@ GST_START_TEST (test_opus_encode_properties)
|
||||||
"could not set to playing");
|
"could not set to playing");
|
||||||
|
|
||||||
caps =
|
caps =
|
||||||
gst_caps_from_string
|
gst_caps_from_string ("audio/x-raw,format=S16LE,rate=48000,channels=1");
|
||||||
("audio/x-raw-int,rate=48000,channels=1,signed=true,width=16,depth=16,endianness=1234");
|
|
||||||
fail_unless (caps != NULL);
|
fail_unless (caps != NULL);
|
||||||
|
|
||||||
for (step = 0; step < steps; ++step) {
|
for (step = 0; step < steps; ++step) {
|
||||||
|
|
Loading…
Reference in a new issue