You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2018/07/25 17:05:25 UTC
[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1142] interview
conversion is fixed
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 <so...@gmail.com>
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);