mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
tests: qtdemux: fix crash on 32-bit architectures
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/803 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/815>
This commit is contained in:
parent
8c3ec64473
commit
2ce5909f3a
1 changed files with 8 additions and 6 deletions
|
@ -797,9 +797,10 @@ GST_START_TEST (test_qtdemux_pad_names)
|
||||||
"protection-system", G_TYPE_STRING,
|
"protection-system", G_TYPE_STRING,
|
||||||
"9a04f079-9840-4286-ab92-e65be0885f95", NULL);
|
"9a04f079-9840-4286-ab92-e65be0885f95", NULL);
|
||||||
caps =
|
caps =
|
||||||
gst_caps_new_simple ("video/quicktime", "variant", G_TYPE_STRING,
|
gst_caps_new_simple ("video/quicktime",
|
||||||
"mss-fragmented", "timesacle", G_TYPE_UINT64, 10000000, "media-caps",
|
"variant", G_TYPE_STRING, "mss-fragmented",
|
||||||
GST_TYPE_CAPS, mediacaps, NULL);
|
"timesacle", G_TYPE_UINT64, G_GUINT64_CONSTANT (10000000),
|
||||||
|
"media-caps", GST_TYPE_CAPS, mediacaps, NULL);
|
||||||
|
|
||||||
/* Send segment event* */
|
/* Send segment event* */
|
||||||
event = gst_event_new_caps (caps);
|
event = gst_event_new_caps (caps);
|
||||||
|
@ -852,9 +853,10 @@ GST_START_TEST (test_qtdemux_pad_names)
|
||||||
"protection-system", G_TYPE_STRING,
|
"protection-system", G_TYPE_STRING,
|
||||||
"9a04f079-9840-4286-ab92-e65be0885f95", NULL);
|
"9a04f079-9840-4286-ab92-e65be0885f95", NULL);
|
||||||
caps =
|
caps =
|
||||||
gst_caps_new_simple ("video/quicktime", "variant", G_TYPE_STRING,
|
gst_caps_new_simple ("video/quicktime",
|
||||||
"mss-fragmented", "timesacle", G_TYPE_UINT64, 10000000, "media-caps",
|
"variant", G_TYPE_STRING, "mss-fragmented",
|
||||||
GST_TYPE_CAPS, mediacaps, NULL);
|
"timesacle", G_TYPE_UINT64, G_GUINT64_CONSTANT (10000000),
|
||||||
|
"media-caps", GST_TYPE_CAPS, mediacaps, NULL);
|
||||||
|
|
||||||
/* Send segment event* */
|
/* Send segment event* */
|
||||||
event = gst_event_new_caps (caps);
|
event = gst_event_new_caps (caps);
|
||||||
|
|
Loading…
Reference in a new issue