1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-15 22:05:00 -05:00

Default to null

This commit is contained in:
Reinhard Pointner 2017-06-05 03:05:53 +08:00
parent 26e816f92d
commit c881f6be3c

View File

@ -328,7 +328,7 @@ public class MediaBindingBean {
String codec = getMediaInfo(StreamKind.Video, 0, "Encoded_Library_Name", "Encoded_Library/Name", "CodecID/Hint", "Format"); String codec = getMediaInfo(StreamKind.Video, 0, "Encoded_Library_Name", "Encoded_Library/Name", "CodecID/Hint", "Format");
// get first token (e.g. DivX 5 => DivX) // get first token (e.g. DivX 5 => DivX)
return tokenize(codec).findFirst().get(); return tokenize(codec).findFirst().orElse(null);
} }
@Define("ac") @Define("ac")