From 0a96ed502716939c1b94dfa692718ba96b57f2b9 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Date: Fri, 5 Jul 2002 19:30:20 +0000 Subject: correcting the next_ts calculations Original commit message from CVS: correcting the next_ts calculations --- ext/gsm/gstgsmenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/gsm') 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; -- cgit v1.2.1