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