mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
tests: fix for caps change
This commit is contained in:
parent
cc80ab6b2e
commit
d5ace1d855
1 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@
|
||||||
fail_unless (gst_caps_is_equal (gst_encoding_profile_get_format (profile), format)); \
|
fail_unless (gst_caps_is_equal (gst_encoding_profile_get_format (profile), format)); \
|
||||||
fail_unless_equals_string (gst_encoding_profile_get_preset (profile), preset); \
|
fail_unless_equals_string (gst_encoding_profile_get_preset (profile), preset); \
|
||||||
fail_unless_equals_int (gst_encoding_profile_get_presence (profile), presence); \
|
fail_unless_equals_int (gst_encoding_profile_get_presence (profile), presence); \
|
||||||
|
if (restriction) \
|
||||||
fail_unless (gst_caps_is_equal (gst_encoding_profile_get_restriction (profile), restriction)); \
|
fail_unless (gst_caps_is_equal (gst_encoding_profile_get_restriction (profile), restriction)); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue