projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6682215
)
tests: fix encodebin unit test on 32-bit systems
author
Tim-Philipp Müller
<tim@centricular.net>
Sat, 16 Feb 2013 23:55:57 +0000
(23:55 +0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sat, 16 Feb 2013 23:55:57 +0000
(23:55 +0000)
Fixes critical warning on x86:
g_object_set_valist: object class `GstOggMux' has no property named `testingoggmux'
tests/check/elements/encodebin.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/encodebin.c
b/tests/check/elements/encodebin.c
index 15515380f106c219a72cebe36b5d70496f69c023..3ffa80d69d6a665eb7c326f433137898fb8a1244 100644
(file)
--- a/
tests/check/elements/encodebin.c
+++ b/
tests/check/elements/encodebin.c
@@
-215,7
+215,8
@@
GST_START_TEST (test_encodebin_preset)
prof = create_ogg_vorbis_profile (1, NULL);
/* 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 */
- 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 */
gst_preset_save_preset (oggmuxpreset, "test_encodebin_preset");