liveadder: latency property is an uint64 in audiomixer
authorTim-Philipp Müller <tim@centricular.com>
Mon, 12 Oct 2015 08:36:29 +0000 (09:36 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 12 Oct 2015 08:42:37 +0000 (09:42 +0100)
gst/audiomixer/gstaudiomixer.c

index d3ddcdf..2ae0633 100644 (file)
@@ -794,7 +794,8 @@ G_DEFINE_TYPE (GstLiveAdder, gst_live_adder, GST_TYPE_AUDIO_MIXER);
 static void
 gst_live_adder_init (GstLiveAdder * self)
 {
-  g_object_set (self, "latency", 30 * GST_MSECOND, NULL);
+  /* FIXME: old live adder had latency as uint property */
+  g_object_set (self, "latency", (guint64) 30 * GST_MSECOND, NULL);
 }
 
 static void