[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-server-cvs
Subject:    [Server-cvs] engine/core source_container.cpp, 1.4,
From:       ckarusala () helixcommunity ! org
Date:       2009-10-15 20:01:47
Message-ID: 200910152112.n9FLC5jw006064 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/server/engine/core
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv20308

Modified Files:
	source_container.cpp static_source_container.cpp 
Log Message:
Updating the source_container classes's to QI for additional interfaces from 
their packet sources.


Index: static_source_container.cpp
===================================================================
RCS file: /cvsroot/server/engine/core/static_source_container.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- static_source_container.cpp	18 Aug 2007 00:21:11 -0000	1.4
+++ static_source_container.cpp	15 Oct 2009 20:01:45 -0000	1.5
@@ -146,6 +146,10 @@
     {
 	return m_pSourcePackets->QueryInterface(riid, ppvObj);
     }
+    else if (m_pSourcePackets)
+    {
+        return m_pSourcePackets->QueryInterface(riid, ppvObj);
+    }
 
     *ppvObj = NULL;
     return HXR_NOINTERFACE;

Index: source_container.cpp
===================================================================
RCS file: /cvsroot/server/engine/core/source_container.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- source_container.cpp	6 Mar 2009 01:04:41 -0000	1.4
+++ source_container.cpp	15 Oct 2009 20:01:45 -0000	1.5
@@ -103,6 +103,10 @@
     {
 	return m_pSourceLivePackets->QueryInterface(riid, ppvObj);
     }
+    else if(m_pSourceLivePackets && IsEqualIID(riid, IID_IHXPSourceControl))
+    {
+	return m_pSourceLivePackets->QueryInterface(riid, ppvObj);
+    }
 
     *ppvObj = NULL;
     return HXR_NOINTERFACE;


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic