Revision
14771
Author
anthm
Date
2009-09-04 17:18:11 -0500 (Fri, 04 Sep 2009)

Log Message

missing reset causing the same timestamp forever on perfect storm of conditions involving transcoding and ptime combo (gotta love it)

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_core_io.c (14770 => 14771)


--- freeswitch/trunk/src/switch_core_io.c	2009-09-04 19:50:37 UTC (rev 14770)
+++ freeswitch/trunk/src/switch_core_io.c	2009-09-04 22:18:11 UTC (rev 14771)
@@ -924,8 +924,8 @@
 						enc_frame = &session->raw_write_frame;
 						session->raw_write_frame.rate = session->write_impl.actual_samples_per_second;
 						session->enc_write_frame.datalen = session->enc_write_frame.buflen;
+						session->enc_write_frame.timestamp = 0;
 						
-
 						
 						if (frame->codec && frame->codec->implementation && switch_core_codec_ready(frame->codec)) {
 							rate = frame->codec->implementation->actual_samples_per_second;