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

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] wm/video/renderer wmvrender.cpp, 1.2.2.7.66.1, 1.2.2.7.66.2
From:       songsofwind () helixcommunity ! org
Date:       2013-10-08 1:46:55
[Download RAW message or body]

Update of /cvsroot/datatype/wm/video/renderer
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv18843/wm/video/renderer

Modified Files:
      Tag: realplayer_17_0_1
	wmvrender.cpp 
Log Message:
reverse the changes about [JIRA][RPD-2522] which leads to crash when close RP or DL. \
Need to do deeper research on these mutex.

Index: wmvrender.cpp
===================================================================
RCS file: /cvsroot/datatype/wm/video/renderer/wmvrender.cpp,v
retrieving revision 1.2.2.7.66.1
retrieving revision 1.2.2.7.66.2
diff -u -d -r1.2.2.7.66.1 -r1.2.2.7.66.2
--- wmvrender.cpp	5 Oct 2013 20:08:53 -0000	1.2.2.7.66.1
+++ wmvrender.cpp	8 Oct 2013 01:46:48 -0000	1.2.2.7.66.2
@@ -84,17 +84,12 @@
 
 CWMVideoRenderer::~CWMVideoRenderer()
 {
-    UpdateDisplayMutex_Lock();
-
     if (m_pActiveVideoPacket)
     {
         m_pActiveVideoPacket->Clear();
         delete m_pActiveVideoPacket;
         m_pActiveVideoPacket = NULL;
     }
-
-    UpdateDisplayMutex_Unlock();
-
     HX_DELETE(m_pOutputAllocator);
 }
 
@@ -283,8 +278,6 @@
 }
 STDMETHODIMP CWMVideoRenderer::EndStream()
 {
-    UpdateDisplayMutex_Lock();
-
     if (m_pActiveVideoPacket)
     {
         m_pActiveVideoPacket->Clear();
@@ -292,8 +285,6 @@
         m_pActiveVideoPacket = NULL;
     }
 
-    UpdateDisplayMutex_Unlock();
-
     CVideoRenderer::EndStream();
 
     return HXR_OK;


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs


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

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