[asterisk-commits] file: branch 1.4 r52265 - in /branches/1.4: ./
main/jitterbuf.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Jan 25 12:18:34 MST 2007
Author: file
Date: Thu Jan 25 13:18:33 2007
New Revision: 52265
URL: http://svn.digium.com/view/asterisk?view=rev&rev=52265
Log:
Merged revisions 52264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r52264 | file | 2007-01-25 14:15:29 -0500 (Thu, 25 Jan 2007) | 2 lines
Allow dequeueing of frames with negative timestamp by moving jitterbuffer frames check to jb_next. (issue #8546 reported by harmen)
........
Modified:
branches/1.4/ (props changed)
branches/1.4/main/jitterbuf.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/main/jitterbuf.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/jitterbuf.c?view=diff&rev=52265&r1=52264&r2=52265
==============================================================================
--- branches/1.4/main/jitterbuf.c (original)
+++ branches/1.4/main/jitterbuf.c Thu Jan 25 13:18:33 2007
@@ -756,8 +756,8 @@
long jb_next(jitterbuf *jb)
{
if (jb->info.silence_begin_ts) {
- long next = queue_next(jb);
- if (next > 0) {
+ if (jb->frames) {
+ long next = queue_next(jb);
history_get(jb);
/* shrink during silence */
if (jb->info.target - jb->info.current < -JB_TARGET_EXTRA)
More information about the asterisk-commits
mailing list