mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
tests: Cast drop-messages-interval type properly
The rtpjitterbuffer test drop_messages_interval uses a GstClockTime for the message drop interval. This property is defined as a guint. On systems with 64-bit time_t but 32-bit uint, this can cause the g_object_set function to fail to read the arguments properly. Fixes: #1656 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3582>
This commit is contained in:
parent
595d2d283d
commit
9be676306d
1 changed files with 1 additions and 1 deletions
|
@ -3165,7 +3165,7 @@ GST_START_TEST (test_drop_messages_interval)
|
|||
guint num_sent_msg = 0;
|
||||
|
||||
g_object_set (h->element, "post-drop-messages", TRUE, NULL);
|
||||
g_object_set (h->element, "drop-messages-interval", interval, NULL);
|
||||
g_object_set (h->element, "drop-messages-interval", (guint) interval, NULL);
|
||||
next_seqnum = construct_deterministic_initial_state (h, latency_ms);
|
||||
|
||||
/* Create a bus to get the drop message on */
|
||||
|
|
Loading…
Reference in a new issue