mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
tests: fix encodebin unit test on 32-bit systems
Fixes critical warning on x86: g_object_set_valist: object class `GstOggMux' has no property named `testingoggmux'
This commit is contained in:
parent
6682215d9d
commit
ed87e77baa
1 changed files with 2 additions and 1 deletions
|
@ -215,7 +215,8 @@ GST_START_TEST (test_encodebin_preset)
|
||||||
prof = create_ogg_vorbis_profile (1, NULL);
|
prof = create_ogg_vorbis_profile (1, NULL);
|
||||||
/* We also set the name as the load_preset call will reset the element name to
|
/* We also set the name as the load_preset call will reset the element name to
|
||||||
* what is described in the preset... which might not be very smart tbh */
|
* what is described in the preset... which might not be very smart tbh */
|
||||||
g_object_set (oggmuxpreset, "max-delay", 12, "name", "testingoggmux", NULL);
|
g_object_set (oggmuxpreset, "max-delay", (guint64) 12, "name",
|
||||||
|
"testingoggmux", NULL);
|
||||||
|
|
||||||
/* Give a name someone should never use outside of that test */
|
/* Give a name someone should never use outside of that test */
|
||||||
gst_preset_save_preset (oggmuxpreset, "test_encodebin_preset");
|
gst_preset_save_preset (oggmuxpreset, "test_encodebin_preset");
|
||||||
|
|
Loading…
Reference in a new issue