projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b075682
)
tests: fix unit test
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 5 Jun 2012 07:21:10 +0000
(09:21 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 5 Jun 2012 07:21:10 +0000
(09:21 +0200)
Before we can change the caps on a sinkpad with fixed caps we need to unfix the
pad caps.
tests/check/gst/gstutils.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstutils.c
b/tests/check/gst/gstutils.c
index
d16341e
..
418f6b1
100644
(file)
--- a/
tests/check/gst/gstutils.c
+++ b/
tests/check/gst/gstutils.c
@@
-1025,6
+1025,7
@@
GST_START_TEST (test_pad_proxy_query_caps_aggregation)
/* test intersection */
caps = gst_caps_new_simple ("foo/bar", "barversion", G_TYPE_INT, 1, NULL);
+ GST_OBJECT_FLAG_UNSET (sink2_sink, GST_PAD_FLAG_FIXED_CAPS);
fail_unless (gst_pad_set_caps (sink2_sink, caps));
gst_pad_use_fixed_caps (sink2_sink);
gst_caps_unref (caps);