correcting the next_ts calculations
Original commit message from CVS: correcting the next_ts calculations
This commit is contained in:
parent
fe0263870f
commit
0a96ed5027
@ -192,7 +192,7 @@ gst_gsmenc_chain (GstPad *pad, GstBuffer *buf)
|
|||||||
|
|
||||||
GST_BUFFER_TIMESTAMP (outbuf) = gsmenc->next_ts;
|
GST_BUFFER_TIMESTAMP (outbuf) = gsmenc->next_ts;
|
||||||
gst_pad_push (gsmenc->srcpad, outbuf);
|
gst_pad_push (gsmenc->srcpad, outbuf);
|
||||||
gsmenc->next_ts += (160.0 / gsmenc->rate) * 1000000;
|
gsmenc->next_ts += (160 / gsmenc->rate) * GST_SECOND;
|
||||||
|
|
||||||
size -= 160;
|
size -= 160;
|
||||||
data += 160;
|
data += 160;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user