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:
parent
26e816f92d
commit
c881f6be3c
@ -328,7 +328,7 @@ public class MediaBindingBean {
|
||||
String codec = getMediaInfo(StreamKind.Video, 0, "Encoded_Library_Name", "Encoded_Library/Name", "CodecID/Hint", "Format");
|
||||
|
||||
// get first token (e.g. DivX 5 => DivX)
|
||||
return tokenize(codec).findFirst().get();
|
||||
return tokenize(codec).findFirst().orElse(null);
|
||||
}
|
||||
|
||||
@Define("ac")
|
||||
|
Loading…
Reference in New Issue
Block a user