diff options
author | Zeeshan Ali <zeenix@gmail.com> | 2002-07-05 19:30:20 +0000 |
---|---|---|
committer | Zeeshan Ali <zeenix@gmail.com> | 2002-07-05 19:30:20 +0000 |
commit | 0a96ed502716939c1b94dfa692718ba96b57f2b9 (patch) | |
tree | 1ac9eccef3eb944aec24f1dcd091902bc3208722 /ext/gsm | |
parent | fe0263870f443b53324a24829492f8cbccad0601 (diff) | |
download | gst-plugins-bad-0a96ed502716939c1b94dfa692718ba96b57f2b9.tar.gz gst-plugins-bad-0a96ed502716939c1b94dfa692718ba96b57f2b9.tar.bz2 gst-plugins-bad-0a96ed502716939c1b94dfa692718ba96b57f2b9.zip |
correcting the next_ts calculations
Original commit message from CVS:
correcting the next_ts calculations
Diffstat (limited to 'ext/gsm')
-rw-r--r-- | ext/gsm/gstgsmenc.c | 2 |
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; |