mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
tests: caps: fix test_intersect_flagset failure
test_intersect_flagset fails because when caps is being created, flags and mask are being cast to uint64 while they should be uint. This results in invalid memory access or a segfault. https://bugzilla.gnome.org/show_bug.cgi?id=751628
This commit is contained in:
parent
1a0bd0a07f
commit
1730038953
1 changed files with 1 additions and 1 deletions
|
@ -975,7 +975,7 @@ GST_START_TEST (test_intersect_flagset)
|
|||
GST_SEEK_FLAG_TRICKMODE_NO_AUDIO;
|
||||
|
||||
c1 = gst_caps_new_simple ("test/x-caps", "field", test_flagset_type,
|
||||
(guint64) (test_flags), (guint64) (test_mask), NULL);
|
||||
test_flags, test_mask, NULL);
|
||||
|
||||
test_string = gst_caps_to_string (c1);
|
||||
fail_if (test_string == NULL);
|
||||
|
|
Loading…
Reference in a new issue