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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2786ff5  [OPENMEETINGS-1142] interview conversion is fixed
2786ff5 is described below

commit 2786ff54b311ca61522feae2c0eb6b24952aeb17
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 4e249af..581d312 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
@@ -124,7 +124,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