summaryrefslogtreecommitdiff
path: root/orkaudio/BatchProcessing.cpp
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2006-01-21 02:38:45 +0000
committerHenri Herscher <henri@oreka.org>2006-01-21 02:38:45 +0000
commit33506288a1f574a4e3484e2f9c765e47a7bab29b (patch)
treeaf4ae21d168b12e2405b74f35c226c5064451448 /orkaudio/BatchProcessing.cpp
parent2ecfb41cfcb7ccd7f9340a721e483d9d554b31d2 (diff)
fixes to change VoIpMixer to RtpMixer
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@125 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/BatchProcessing.cpp')
-rw-r--r--orkaudio/BatchProcessing.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/orkaudio/BatchProcessing.cpp b/orkaudio/BatchProcessing.cpp
index 90f2b7b..59e78e5 100644
--- a/orkaudio/BatchProcessing.cpp
+++ b/orkaudio/BatchProcessing.cpp
@@ -113,8 +113,13 @@ void BatchProcessing::ThreadHandler(void *args)
if(firstChunk && details.m_rtpPayloadType != -1)
{
firstChunk = false;
- CStdString filterName("VoIpMixer");
+ CStdString filterName("RtpMixer");
filter = FilterRegistry::instance()->GetNewFilter(filterName);
+ if(filter.get() == NULL)
+ {
+ debug = "BatchProcessing - Could not instanciate RTP mixer";
+ throw(debug);
+ }
decoder1 = FilterRegistry::instance()->GetNewFilter(details.m_rtpPayloadType);
decoder2 = FilterRegistry::instance()->GetNewFilter(details.m_rtpPayloadType);
if(decoder1.get() == NULL || decoder2.get() == NULL)