mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
qtdemux: Use G_GUINT64_CONSTANT
when creating test caps
Otherwise this fails on 32 bit platforms. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3521 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6804>
This commit is contained in:
parent
1c87cda56d
commit
efba52fcba
1 changed files with 6 additions and 4 deletions
|
@ -1085,8 +1085,9 @@ GST_START_TEST (test_qtdemux_compensate_data_offset)
|
|||
"channels", G_TYPE_INT, 2, "rate", G_TYPE_INT, 48000, NULL);
|
||||
caps =
|
||||
gst_caps_new_simple ("video/quicktime", "variant", G_TYPE_STRING,
|
||||
"mss-fragmented", "timescale", G_TYPE_UINT64, 10000000, "media-caps",
|
||||
GST_TYPE_CAPS, mediacaps, NULL);
|
||||
"mss-fragmented", "timescale", G_TYPE_UINT64,
|
||||
G_GUINT64_CONSTANT (10000000), "media-caps", GST_TYPE_CAPS, mediacaps,
|
||||
NULL);
|
||||
|
||||
/* Send segment event* */
|
||||
event = gst_event_new_caps (caps);
|
||||
|
@ -1165,8 +1166,9 @@ GST_START_TEST (test_qtdemux_mss_fragment)
|
|||
"channels", G_TYPE_INT, 2, "rate", G_TYPE_INT, 48000, NULL);
|
||||
caps =
|
||||
gst_caps_new_simple ("video/quicktime", "variant", G_TYPE_STRING,
|
||||
"mss-fragmented", "timescale", G_TYPE_UINT64, 10000000, "media-caps",
|
||||
GST_TYPE_CAPS, mediacaps, NULL);
|
||||
"mss-fragmented", "timescale", G_TYPE_UINT64,
|
||||
G_GUINT64_CONSTANT (10000000), "media-caps", GST_TYPE_CAPS, mediacaps,
|
||||
NULL);
|
||||
|
||||
/* Send segment event* */
|
||||
event = gst_event_new_caps (caps);
|
||||
|
|
Loading…
Reference in a new issue