summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/gsm/gstgsmenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gsm/gstgsmenc.c b/ext/gsm/gstgsmenc.c
index 633863c1..fb19b5ef 100644
--- a/ext/gsm/gstgsmenc.c
+++ b/ext/gsm/gstgsmenc.c
@@ -192,7 +192,7 @@ gst_gsmenc_chain (GstPad *pad, GstBuffer *buf)
GST_BUFFER_TIMESTAMP (outbuf) = gsmenc->next_ts;
gst_pad_push (gsmenc->srcpad, outbuf);
- gsmenc->next_ts += (160.0 / gsmenc->rate) * 1000000;
+ gsmenc->next_ts += (160 / gsmenc->rate) * GST_SECOND;
size -= 160;
data += 160;