webrtcbin: rtpstorage takes a 64-bit integer for "size-time" property
authorTim-Philipp Müller <tim@centricular.com>
Sun, 27 May 2018 19:34:50 +0000 (20:34 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 28 May 2018 09:43:37 +0000 (10:43 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=796429

ext/webrtc/gstwebrtcbin.c

index c553a93..a28b936 100644 (file)
@@ -3666,7 +3666,7 @@ on_rtpbin_new_storage (GstElement * rtpbin, GstElement * storage,
     guint session_id, GstWebRTCBin * webrtc)
 {
   /* TODO: when exposing latency, set size-time based on that */
-  g_object_set (storage, "size-time", 250 * GST_MSECOND, NULL);
+  g_object_set (storage, "size-time", (guint64) 250 * GST_MSECOND, NULL);
 }
 
 static GstElement *