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

List:       helix-server-cvs
Subject:    [Server-cvs] engine/core core_proc.cpp,1.101.6.3,1.101.6.4
From:       skharkar () helixcommunity ! org
Date:       2012-09-29 14:53:28
[Download RAW message or body]

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

Modified Files:
      Tag: SERVER_NUCLEUS
	core_proc.cpp 
Log Message:
Synopsis
========
Added Duration check for movies.
Reviewer: Chytanya
 
Branches: SERVER_NUCLEUS
 
Description
===========
In order to prevent false positives for movies, added duration check.
We check if duration of metadata is within a fix percentage of duration of file.
This percentage is configurable as <Var MaxMovieDurationDifferencePercentage="5"/>
In case duration does not match video is classified as personal video.

Files Modified
================
server_rn/nucleus/cms/cmsplin/cmsplin.cpp
server_rn/nucleus/cms/cmsplin/pub/cmsplin.h
server_rn/installer/nucleus/Attic/servinst.cpp

Tested
======
Tested with few valid and invalid movie files.

QA hints
=========
Please try various movie files.

Synopsis
========
Added title check for movies.
Reviewer: Chytanya
 
Branches: SERVER_NUCLEUS
 
Description
===========
In order to prevent false positives for movies, added title check in addition to
duration check.
If duration of movie does not match then we try to match title with movie file name,
if half word match then we consider it to be a match or else we consider it a failure
and movie will be classified as personal video.
Also changed default MaxMovieDurationDifferencePercentage to 2%.

Files Modified
================
server_rn/nucleus/cms/cmsplin/cmsplin.cpp
server_rn/nucleus/cms/cmsplin/pub/cmsplin.h
server_rn/installer/nucleus/Attic/servinst.cpp

Tested
======
Tested with few valid and invalid movie files.

QA hints
=========
Please try various movie files.

Index: core_proc.cpp
===================================================================
RCS file: /cvsroot/server/engine/core/core_proc.cpp,v
retrieving revision 1.101.6.3
retrieving revision 1.101.6.4
diff -u -d -r1.101.6.3 -r1.101.6.4
--- core_proc.cpp	24 Jul 2012 02:38:03 -0000	1.101.6.3
+++ core_proc.cpp	29 Sep 2012 14:53:19 -0000	1.101.6.4
@@ -852,7 +852,9 @@
     hxreg->AddInt("LiveConnections.Count", 0);
 
     proc->pc->named_lock_manager->CreateNamedLock("LiveConnectionsLock");
-
+#ifdef NUCLEUS
+    proc->pc->named_lock_manager->CreateNamedLock("DBWriteLock");
+#endif
     INT32* pEncoders = new INT32;
     IHXBuffer* pIHXBuf = new ServerBuffer(TRUE);
     HX_ASSERT(pIHXBuf);


_______________________________________________
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