From a81e39e5ccda09ba3003c7a04efd3e684201ced9 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 5 Jun 2009 19:04:07 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13644 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- patches/tmp.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/tmp.diff b/patches/tmp.diff index c4e6031b04..75d761f48b 100644 --- a/patches/tmp.diff +++ b/patches/tmp.diff @@ -179,3 +179,16 @@ Index: src/include/switch_core.h /*! \brief Flush the read and write buffers for the bug +Index: src/mod/formats/mod_shout/mod_shout.c +=================================================================== +--- src/mod/formats/mod_shout/mod_shout.c (revision 13639) ++++ src/mod/formats/mod_shout/mod_shout.c (working copy) +@@ -1159,7 +1159,7 @@ + break; + case SWITCH_ABC_TYPE_READ_PING: + if (buffer) { +- if (switch_core_media_bug_read(bug, &frame) == SWITCH_STATUS_SUCCESS) { ++ if (switch_core_media_bug_read(bug, &frame, SWITCH_TRUE) == SWITCH_STATUS_SUCCESS) { + switch_buffer_lock(buffer); + switch_buffer_write(buffer, frame.data, frame.datalen); + switch_buffer_unlock(buffer);