Skip to content

Commit

Permalink
Merge branch 'r/6.x' into develop
Browse files Browse the repository at this point in the history
* r/6.x:
  MH-13256 Waveform operation fix
  Automatically update translation keys (r/6.x)
  Automatically update translation keys (r/5.x)
  MH-13252, Ineffective Synchronization of Elasticsearch Startup
  Update paella player to 6.0.4
  MH-13232: Fix potentially negative fade-out start
  MH-13209, Put CAS Feature In Distributions
  • Loading branch information
mtneug committed Dec 5, 2018
2 parents 45dbf98 + f198b49 commit c457cec
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
3 changes: 3 additions & 0 deletions assemblies/pom.xml
Expand Up @@ -117,6 +117,9 @@
</libraries>
<archiveZip>false</archiveZip>
<archiveTarGz>false</archiveTarGz>
<installedFeatures>
<feature>opencast-security-cas</feature>
</installedFeatures>
</configuration>
</plugin>
<plugin>
Expand Down
Expand Up @@ -811,8 +811,8 @@ private List<String> makeEdits(List<VideoClip> clips, int transitionDuration, Bo
int fileindx = vclip.getSrc(); // get source file by index
double inpt = vclip.getStart(); // get in points
double duration = vclip.getDuration();
double vend = duration - vfade;
double aend = duration - afade;
double vend = Math.max(duration - vfade, 0);
double aend = Math.max(duration - afade, 0);
if (hasVideo) {
String vvclip;
vvclip = "[" + fileindx + ":v]trim=" + f.format(inpt) + ":duration=" + f.format(duration)
Expand Down Expand Up @@ -843,8 +843,8 @@ private List<String> makeEdits(List<VideoClip> clips, int transitionDuration, Bo
int fileindx = vclip.getSrc(); // get source file by index
double inpt = vclip.getStart(); // get in points
double duration = vclip.getDuration();
double vend = duration - vfade;
double aend = duration - afade;
double vend = Math.max(duration - vfade, 0);
double aend = Math.max(duration - afade, 0);

if (hasVideo) {
String vvclip;
Expand Down
12 changes: 6 additions & 6 deletions modules/engage-paella-player/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/engage-paella-player/package.json
Expand Up @@ -10,6 +10,6 @@
"eslint-plugin-header": "^2.0.0",
"gulp": "^3.9.1",
"merge-stream": "^1.0.1",
"paellaplayer": "github:polimediaupv/paella#6.0.3"
"paellaplayer": "github:polimediaupv/paella#6.0.4"
}
}
Expand Up @@ -311,6 +311,7 @@ private Attachment extractWaveform(Track track, int pixelsPerMinute, int minWidt
"-nostats",
"-i", mediaFile.getAbsolutePath(),
"-lavfi", createWaveformFilter(track, width, height),
"-frames:v", "1",
"-an", "-vn", "-sn", "-y",
waveformFilePath
};
Expand Down

0 comments on commit c457cec

Please sign in to comment.