[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:       ebala () helixcommunity ! org
Date:       2009-07-30 6:33:42
Message-ID: 200907300741.n6U7fW16029051 () 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-serv592

Modified Files:
      Tag: PRODUCER_13_0_RN
	rtpwriter.cpp 
Log Message:
Removing unnecessary operations during StreamDone

Index: rtpwriter.cpp
===================================================================
RCS file: /cvsroot/client/encodesvc/plugins/output/rtpbroadcast/Attic/rtpwriter.cpp,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- rtpwriter.cpp	30 Jul 2009 05:15:33 -0000	1.1.2.2
+++ rtpwriter.cpp	30 Jul 2009 06:33:39 -0000	1.1.2.3
@@ -359,15 +359,7 @@
         if (SUCCEEDED(res))
             res = spFileHeader->GetPropertyULONG32("StreamCount", \
ulNumLogicalStreams);  
-        // XXXRB -- what about EndTime -- we assume it must be set right?
-        if (SUCCEEDED(res))
-            res = m_pFileWriter->SetFileHeader( spFileHeader );
-        
-        if ( SUCCEEDED(res) && m_uFileHeaderPropertiesCount != CountHeaderFields( \
                spFileHeader ) )
-        {
-            HXTLOG_APPROVED( LC_SDK_WARN, FILEOUT, 7024, "Number of properties in \
                file header must be same between connection and encoding completion." \
                );
-            HX_ASSERT( FALSE );
-        }
+     
         
         for ( UINT32 uStreamCounter = 0; SUCCEEDED(res) && uStreamCounter < \
ulNumLogicalStreams; uStreamCounter++ )  {
@@ -406,13 +398,6 @@
                 }
             }
             
-            if ( m_paStreamHeaderPropertiesCount[uStreamCounter] != \
                CountHeaderFields( spStreamHeader) )
-            {
-                HXTLOG_APPROVED( LC_SDK_WARN, FILEOUT, 7025, "Number of properties \
                in stream header must be same between connection and encoding \
                completion." );
-                HX_ASSERT( FALSE );
-            }
-            
-            m_pFileWriter->SetStreamHeader( spStreamHeader );
             m_pFileWriter->StreamDone( (UINT16)uStreamCounter );
         }
     }
@@ -1173,7 +1158,7 @@
     if (SUCCEEDED(m_status) && m_bStreamsDone && m_spEventSink)
     {
         UINT32 uStream = 0;
-        m_spEventSink->HandleEvent( eEventOutputFilterStreamDone, &uStream, NULL, \
(IHXTConfigurationAgent*) m_pVoidTokenConnectionAgent  );              +        \
m_spEventSink->HandleEvent( eEventOutputFilterStreamDone, &uStream, NULL, \
(IHXTConfigurationAgent*) m_pVoidTokenConnectionAgent );               }
 }
 


_______________________________________________
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