summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-02-28 00:40:21 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-02-28 00:41:20 +0530
commit307865ec7adcf9d263742741787dd93d83d86e65 (patch)
treedb0efb8239ad2bf818450e83c94a2a2918188d44 /gst
parent4d1b6882be0c3bab2c2087c6c206062210bf5bdd (diff)
audiolatency: Fix cerbero build failure
Average latency is a 64-bit integer. https://ci.gstreamer.net/job/GStreamer-master/9962/
Diffstat (limited to 'gst')
-rw-r--r--gst/audiolatency/gstaudiolatency.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audiolatency/gstaudiolatency.c b/gst/audiolatency/gstaudiolatency.c
index 2f63d3df4..1a4de02ef 100644
--- a/gst/audiolatency/gstaudiolatency.c
+++ b/gst/audiolatency/gstaudiolatency.c
@@ -248,7 +248,7 @@ gst_audiolatency_get_average_latency (GstAudioLatency * self)
static void
gst_audiolatency_set_latency (GstAudioLatency * self, gint64 latency)
{
- gint avg_latency;
+ gint64 avg_latency;
GST_OBJECT_LOCK (self);
self->latencies[self->next_latency_idx] = latency;