Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
529
Issue boards
Milestones
Wiki
Code
Merge requests
15
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
f5095bdf
Commit
f5095bdf
authored
8 years ago
by
Hugo Beauzée-Luyssen
Browse files
Options
Downloads
Patches
Plain Diff
AndroidMediaLibrary: Avoid copying some parameters
parent
04696701
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
medialibrary/jni/AndroidMediaLibrary.cpp
+2
-2
2 additions, 2 deletions
medialibrary/jni/AndroidMediaLibrary.cpp
medialibrary/jni/AndroidMediaLibrary.h
+2
-2
2 additions, 2 deletions
medialibrary/jni/AndroidMediaLibrary.h
with
4 additions
and
4 deletions
medialibrary/jni/AndroidMediaLibrary.cpp
+
2
−
2
View file @
f5095bdf
...
...
@@ -62,7 +62,7 @@ AndroidMediaLibrary::initML(const std::string& dbPath, const std::string& thumbs
}
void
AndroidMediaLibrary
::
addDevice
(
std
::
string
uuid
,
std
::
string
path
,
bool
removable
)
AndroidMediaLibrary
::
addDevice
(
const
std
::
string
&
uuid
,
const
std
::
string
&
path
,
bool
removable
)
{
p_lister
->
addDevice
(
uuid
,
path
,
removable
);
p_DeviceListerCb
->
onDevicePlugged
(
uuid
,
path
);
...
...
@@ -75,7 +75,7 @@ AndroidMediaLibrary::devices()
}
bool
AndroidMediaLibrary
::
removeDevice
(
std
::
string
uuid
)
AndroidMediaLibrary
::
removeDevice
(
const
std
::
string
&
uuid
)
{
bool
removed
=
p_lister
->
removeDevice
(
uuid
);
if
(
removed
)
...
...
This diff is collapsed.
Click to expand it.
medialibrary/jni/AndroidMediaLibrary.h
+
2
−
2
View file @
f5095bdf
...
...
@@ -30,9 +30,9 @@ public:
~
AndroidMediaLibrary
();
void
initML
(
const
std
::
string
&
dbPath
,
const
std
::
string
&
thumbsPath
);
void
addDevice
(
std
::
string
uuid
,
std
::
string
path
,
bool
removable
);
void
addDevice
(
const
std
::
string
&
uuid
,
const
std
::
string
&
path
,
bool
removable
);
std
::
vector
<
std
::
tuple
<
std
::
string
,
std
::
string
,
bool
>>
devices
();
bool
removeDevice
(
std
::
string
uuid
);
bool
removeDevice
(
const
std
::
string
&
uuid
);
void
banFolder
(
const
std
::
string
&
path
);
void
discover
(
const
std
::
string
&
);
void
removeEntryPoint
(
const
std
::
string
&
entryPoint
);
...
...
This diff is collapsed.
Click to expand it.
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