check: fix dash_mpdparser_check_mpd_client_set_methods test.
authorDoug Nazar <nazard@nazar.ca>
Wed, 14 Apr 2021 05:59:23 +0000 (01:59 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 14 Apr 2021 06:35:25 +0000 (06:35 +0000)
Setting guint64 valist properties without type specifier fails
on 32bit archs.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2161>

tests/check/elements/dash_mpd.c

index 21ce5e0..cc5596a 100644 (file)
@@ -6193,8 +6193,8 @@ GST_START_TEST (dash_mpdparser_check_mpd_client_set_methods)
       "url", "TestBaseURL",
       "service-location", "TestServiceLocation",
       "byte-range", "TestByteRange", NULL);
-  period_id = gst_mpd_client_set_period_node (second_mpdclient, (gchar *) "TestId", "start", 60000,     // ms
-      "duration", 40000, "bitstream-switching", 1, NULL);
+  period_id = gst_mpd_client_set_period_node (second_mpdclient, (gchar *) "TestId", "start", (guint64) 60000,   // ms
+      "duration", (guint64) 40000, "bitstream-switching", 1, NULL);
   adaptation_set_id =
       gst_mpd_client_set_adaptation_set_node (second_mpdclient, period_id, 9,
       "content-type", "video", "mime-type", "video", NULL);