mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +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/3580>
This commit is contained in:
parent
a27c5c81df
commit
412eaf3526
1 changed files with 1 additions and 1 deletions
|
@ -3207,7 +3207,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