diff --git a/src/main/java/uk/co/caprica/vlcj/media/ParseApi.java b/src/main/java/uk/co/caprica/vlcj/media/ParseApi.java
index 887e95c3a..be37014ec 100644
--- a/src/main/java/uk/co/caprica/vlcj/media/ParseApi.java
+++ b/src/main/java/uk/co/caprica/vlcj/media/ParseApi.java
@@ -94,10 +94,13 @@ public boolean parse(ParseFlag... flags) {
* Parse the media, asynchronously, with a specific timeout and specific parse flags.
*
* @param timeout timeout, milliseconds
- * @param flags parse flags
+ * @param flags parse flags, if omitted {@link ParseFlag#PARSE_LOCAL} is used
* @return true
if the parse request was successful; false
on error
*/
public boolean parse(int timeout, ParseFlag... flags) {
+ if (flags == null || flags.length == 0) {
+ flags = new ParseFlag[] {ParseFlag.PARSE_LOCAL };
+ }
return libvlc_media_parse_request(libvlcInstance, mediaInstance, flagsToInt(flags), timeout) == 0;
}