Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
531
Issue boards
Milestones
Wiki
Code
Merge requests
16
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
f496561b
Commit
f496561b
authored
8 years ago
by
Thomas Guillem
Browse files
Options
Downloads
Patches
Plain Diff
LibVLC: MediaBrowser: add NoSlavesAutodetect flag
parent
e71d7d88
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libvlc/src/org/videolan/libvlc/util/MediaBrowser.java
+4
-0
4 additions, 0 deletions
libvlc/src/org/videolan/libvlc/util/MediaBrowser.java
with
4 additions
and
0 deletions
libvlc/src/org/videolan/libvlc/util/MediaBrowser.java
+
4
−
0
View file @
f496561b
...
...
@@ -48,6 +48,8 @@ public class MediaBrowser {
public
static
class
Flag
{
/** If this flag is set, browse() could fire up dialogs */
public
final
static
int
Interact
=
1
;
/** If this flag is set, slaves won't be attached to medias but will be added as a media. */
public
final
static
int
NoSlavesAutodetect
=
1
<<
1
;
}
/**
...
...
@@ -194,6 +196,8 @@ public class MediaBrowser {
*/
media
.
retain
();
media
.
addOption
(
IGNORE_LIST_OPTION
+
mIgnoreList
);
if
((
flags
&
Flag
.
NoSlavesAutodetect
)
!=
0
)
media
.
addOption
(
":no-sub-autodetect-file"
);
int
mediaFlags
=
Media
.
Parse
.
ParseNetwork
;
if
((
flags
&
Flag
.
Interact
)
!=
0
)
mediaFlags
|=
Media
.
Parse
.
DoInteract
;
...
...
This diff is collapsed.
Click to expand it.
Thomas Guillem
@tguillem
mentioned in commit
3fd7a503
·
8 years ago
mentioned in commit
3fd7a503
mentioned in commit 3fd7a50313764ebcc1186008e4ef62b82c284574
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment