This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/4.0.x by this push:
     new 08d8af7  [OPENMEETINGS-1142] interview conversion is fixed
08d8af7 is described below

commit 08d8af700b99c346df3abd20542a62092c838e20
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Thu Jul 26 00:05:15 2018 +0700

    [OPENMEETINGS-1142] interview conversion is fixed
---
 .../java/org/apache/openmeetings/core/converter/InterviewConverter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/InterviewConverter.java
 
b/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/InterviewConverter.java
index bd2f4a0..42b377e 100644
--- 
a/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/InterviewConverter.java
+++ 
b/openmeetings-core/src/main/java/org/apache/openmeetings/core/converter/InterviewConverter.java
@@ -125,7 +125,7 @@ public class InterviewConverter extends BaseConverter 
implements IRecordingConve
                                }
                                if (!parts.isEmpty()) {
                                        String podX = new File(streamFolder, 
String.format("rec_%s_pod_%s.flv", id, N)).getCanonicalPath();
-                                       long diff = diff(pStart, 
r.getRecordEnd());
+                                       long diff = diff(r.getRecordEnd(), 
pStart);
                                        // add blank pod till the end
                                        //createBlankPod(id, streamFolder, 
interviewCam, diff, logs, pods, parts);
                                        PodPart.add(parts, diff);

Reply via email to