mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
tests: fix unit test
Before we can change the caps on a sinkpad with fixed caps we need to unfix the pad caps.
This commit is contained in:
parent
b0756827f6
commit
c4ae921ba6
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue