[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-datatype-cvs
Subject: [Datatype-cvs] mp4/video/renderer mp4video.cpp, 1.13.8.6.54.2, 1.13.8.6.54.3
From: songsofwind () helixcommunity ! org
Date: 2013-10-16 0:17:47
[Download RAW message or body]
Update of /cvsroot/datatype/mp4/video/renderer
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv8948/mp4/video/renderer
Modified Files:
Tag: jupiter
mp4video.cpp
Log Message:
[JIRA][RPD-2522][Playback Stress] RealPlayer crashed when play one clip in cloud for more than 37 times
Index: mp4video.cpp
===================================================================
RCS file: /cvsroot/datatype/mp4/video/renderer/mp4video.cpp,v
retrieving revision 1.13.8.6.54.2
retrieving revision 1.13.8.6.54.3
diff -u -d -r1.13.8.6.54.2 -r1.13.8.6.54.3
--- mp4video.cpp 7 Oct 2013 20:41:46 -0000 1.13.8.6.54.2
+++ mp4video.cpp 16 Oct 2013 00:17:35 -0000 1.13.8.6.54.3
@@ -89,6 +89,8 @@
CMP4VideoRenderer::~CMP4VideoRenderer()
{
+ UpdateDisplayMutex_Lock();
+
if (m_pActiveVideoPacket)
{
m_pActiveVideoPacket->Clear();
@@ -96,12 +98,16 @@
m_pActiveVideoPacket = NULL;
}
+ UpdateDisplayMutex_Unlock();
+
Close();
HX_DELETE(m_pOutputAllocator);
}
STDMETHODIMP CMP4VideoRenderer::EndStream()
{
+ UpdateDisplayMutex_Lock();
+
if (m_pActiveVideoPacket)
{
m_pActiveVideoPacket->Clear();
@@ -109,6 +115,8 @@
m_pActiveVideoPacket = NULL;
}
+ UpdateDisplayMutex_Unlock();
+
CVideoRenderer::EndStream();
return HXR_OK;
@@ -116,12 +124,16 @@
void CMP4VideoRenderer::ReleaseActiveVideoPacket()
{
+ UpdateDisplayMutex_Lock();
+
if (m_pActiveVideoPacket)
{
m_pActiveVideoPacket->Clear();
delete m_pActiveVideoPacket;
m_pActiveVideoPacket = NULL;
}
+
+ UpdateDisplayMutex_Unlock();
}
HX_RESULT STDAPICALLTYPE CMP4VideoRenderer::HXCreateInstance(IUnknown** ppIUnknown)
_______________________________________________
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