Permalink
Browse files

Cosmetics

  • Loading branch information...
1 parent a3bade6 commit a1adb0d4c43e9ad27b93ae18cb89719abe23b8d6 @Happy-Neko Happy-Neko committed Jul 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/net/pms/dlna/LibMediaInfoParser.java
View
2 src/main/java/net/pms/dlna/LibMediaInfoParser.java
@@ -269,7 +269,7 @@ public static void getFormat(MediaInfo.StreamKind current, DLNAMediaInfo media,
format = FormatConfiguration.MJPEG;
} else if (value.contains("div") || value.contains("dx")) {
format = FormatConfiguration.DIVX;
- } else if (value.toLowerCase().matches("(dv)|(cdv.?)|(dc25)|(dcap)|(dvc.?)|(dvs.?)|(dvrs)|(dv25)|(dv50)|(dvan)|(dvh.?)|(dvis)|(dvl.?)|(dvnm)|(dvp.?)|(mdvf)|(pdvc)|(r411)|(r420)|(sdcc)|(sl25)|(sl50)|(sldv)")) {
+ } else if (value.matches("(?i)(dv)|(cdv.?)|(dc25)|(dcap)|(dvc.?)|(dvs.?)|(dvrs)|(dv25)|(dv50)|(dvan)|(dvh.?)|(dvis)|(dvl.?)|(dvnm)|(dvp.?)|(mdvf)|(pdvc)|(r411)|(r420)|(sdcc)|(sl25)|(sl50)|(sldv)")) {
format = FormatConfiguration.DV;
} else if (value.contains("mpeg video")) {
format = FormatConfiguration.MPEG2;

0 comments on commit a1adb0d

Please sign in to comment.