Skip to content
Snippets Groups Projects
Commit 48c678bd authored by fkiefer's avatar fkiefer
Browse files

OO-2361 bugfix VideoAdminTranscodingController

parent f6f87351
No related branches found
No related tags found
No related merge requests found
......@@ -167,9 +167,11 @@ public class VideoAdminTranscodingController extends FormBasicController {
List<VideoTranscoding> transcodings = videoManager.getVideoTranscodings(videoResource);
//map resource IDs to resolution
for (VideoTranscoding videoTranscoding : transcodings) {
if (videoTranscoding.getStatus() != -1 || true) {
availableTranscodings.get(videoTranscoding.getResolution())
.add(videoTranscoding.getVideoResource().getKey());
if (videoTranscoding != null && videoTranscoding.getStatus() != -1) {
Set<Long> oneResolution = availableTranscodings.get(videoTranscoding.getResolution());
if (oneResolution != null) {
oneResolution.add(videoTranscoding.getVideoResource().getKey());
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment