mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
correcting the next_ts calculations
Original commit message from CVS: correcting the next_ts calculations
This commit is contained in:
parent
fe0263870f
commit
0a96ed5027
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue