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

List:       helix-client-cvs
Subject:    [Client-cvs] encodesvc/plugins/output/rtpbroadcast rtpwriter.cpp,
From:       dmitrya () helixcommunity ! org
Date:       2010-08-20 20:30:06
Message-ID: 201008202029.o7KKTlAr002802 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/client/encodesvc/plugins/output/rtpbroadcast
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv26745

Modified Files:
      Tag: PRODUCER_14_0_RN
	rtpwriter.cpp 
Log Message:
bug 265109

Index: rtpwriter.cpp
===================================================================
RCS file: /cvsroot/client/encodesvc/plugins/output/rtpbroadcast/rtpwriter.cpp,v
retrieving revision 1.9.2.2
retrieving revision 1.9.2.3
diff -u -d -r1.9.2.2 -r1.9.2.3
--- rtpwriter.cpp	19 Aug 2010 21:05:23 -0000	1.9.2.2
+++ rtpwriter.cpp	20 Aug 2010 20:30:03 -0000	1.9.2.3
@@ -826,6 +826,21 @@
     }
     
     HX_RESULT res = HXR_OK;
+	
+    IHXBuffer* pIBuffer = NULL;
+    res = pFileHeader->GetPropertyCString(kPropTitle, pIBuffer);
+    if(FAILED(res))
+    {
+        res = m_spFactory->CreateInstance(IID_IHXBuffer, (void**)&pIBuffer);
+        if (SUCCEEDED(res))
+        {
+            const char * pVal = ".";
+            pIBuffer->Set((UCHAR*)pVal,strlen(pVal)+1);
+            res = pFileHeader->SetPropertyCString(kPropTitle, pIBuffer);
+        }
+    }
+    HX_RELEASE(pIBuffer);
+	
     // new pCloneFileHeader is addreffed, but orig is not
     IHXValues* pCloneFileHeader = CloneHeader(pFileHeader, m_spFactory);
     if (!pCloneFileHeader)


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

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