Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

Commit

Permalink
Faking track format is bad idea. Leave decision to player/engine.
Browse files Browse the repository at this point in the history
From 270743b
  • Loading branch information
SubJunk committed Jul 8, 2012
1 parent b52d066 commit b940d0e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/net/pms/dlna/LibMediaInfoParser.java
Expand Up @@ -356,11 +356,7 @@ public static void getFormat(MediaInfo.StreamKind current, DLNAMediaInfo media,
}

public static void getSubCodec(DLNAMediaSubtitle subt, String value) {
SubtitleType subType = SubtitleType.getSubtitleTypeByLibMediaInfoCodec(value);
if (subType == SubtitleType.PGS) {
subType = SubtitleType.UNSUPPORTED; // PGS not yet supported
}
subt.setType(subType);
subt.setType(SubtitleType.getSubtitleTypeByLibMediaInfoCodec(value));
}

public static int getPixelValue(String value) {
Expand Down

0 comments on commit b940d0e

Please sign in to comment.