Commit 78b21d5b authored by Thomas Guillem's avatar Thomas Guillem Committed by Geoffrey Métais

LibVLC: Media: enable dvdnav for .iso on network shares

Signed-off-by: default avatarGeoffrey Métais <geoffrey.metais@gmail.com>
parent 232c06f8
......@@ -781,6 +781,11 @@ public class Media extends VLCObject<Media.Event> {
}
if (!codecOptionSet)
setHWDecoderEnabled(true, false);
/* dvdnav need to be explicitly forced for network playbacks */
if (mUri != null && mUri.getScheme() != null && !mUri.getScheme().equalsIgnoreCase("file") &&
mUri.getLastPathSegment() != null && mUri.getLastPathSegment().toLowerCase().endsWith(".iso"))
addOption(":demux=dvdnav,any");
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment