Skip to content
Snippets Groups Projects
Commit fc82bccb authored by gnaegi's avatar gnaegi
Browse files

OO-725 make sure only supported video files are recognized as video resources

parent 415f1774
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,7 @@ public class MovieServiceImpl implements MovieService, ThumbnailSPI {
FileChannelWrapper in = new FileChannelWrapper(ch);
MP4Demuxer demuxer1 = new MP4Demuxer(in);
String fourCC = demuxer1.getVideoTrack().getFourcc();
if (fourCCs.contains(fourCC)) {
if (fourCCs.contains(fourCC.toLowerCase())) {
return true;
}
log.info("Movie file::" + fileName + " has correct suffix::" + suffix + " but fourCC::" + fourCC + " not in our list of supported codecs.");
......
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