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:
f444f0e
)
decodebin2: make sure varargs are of right type
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 5 Jun 2009 16:13:25 +0000
(18:13 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 5 Jun 2009 16:13:25 +0000
(18:13 +0200)
Explicitly cast the variables to g_object_set to their right types.
gst/playback/gstdecodebin2.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstdecodebin2.c
b/gst/playback/gstdecodebin2.c
index
cbe1e31
..
6fff157
100644
(file)
--- a/
gst/playback/gstdecodebin2.c
+++ b/
gst/playback/gstdecodebin2.c
@@
-1819,8
+1819,8
@@
gst_decode_group_new (GstDecodeBin * dbin, gboolean use_queue)
* memory. When this queue overruns, we assume the group is complete and can
* be exposed. */
g_object_set (G_OBJECT (mq),
- "max-size-bytes", 2 * 1024 * 1024,
- "max-size-time",
0, "max-size-buffers",
0, NULL);
+ "max-size-bytes",
(guint)
2 * 1024 * 1024,
+ "max-size-time",
(guint64) 0, "max-size-buffers", (guint)
0, NULL);
/* will expose the group */
group->overrunsig = g_signal_connect (G_OBJECT (mq), "overrun",
G_CALLBACK (multi_queue_overrun_cb), group);