Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
4d14350c
Commit
4d14350c
authored
Aug 21, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ML: remove an unused function
parent
c2f88e59
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
49 deletions
+0
-49
include/vlc_media_library.h
include/vlc_media_library.h
+0
-10
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/misc/media_library.c
src/misc/media_library.c
+0
-30
src/missing.c
src/missing.c
+0
-8
No files found.
include/vlc_media_library.h
View file @
4d14350c
...
...
@@ -1172,16 +1172,6 @@ VLC_API void ml_DeletePersonTypeFromMedia( ml_media_t* p_media,
const
char
*
psz_role
);
/**
* @brief Creates and adds the playlist based on a given find tree
* @param p_ml Media library object
* @param p_tree Find tree to create SELECT
*/
VLC_API
void
ml_PlaySmartPlaylistBasedOn
(
media_library_t
*
p_ml
,
ml_ftree_t
*
p_tree
);
/**
* Convenience Macros
*/
...
...
src/libvlccore.sym
View file @
4d14350c
...
...
@@ -235,7 +235,6 @@ ml_FtreeSpec
ml_UpdateSimple
ml_GetPersonsFromMedia
ml_DeletePersonTypeFromMedia
ml_PlaySmartPlaylistBasedOn
module_config_free
module_config_get
module_exists
...
...
src/misc/media_library.c
View file @
4d14350c
...
...
@@ -342,36 +342,6 @@ ml_ftree_t* ml_FtreeSpec( ml_ftree_t* tree,
}
/**
* @brief Creates and adds the playlist based on a given find tree
* @param p_ml Media library object
* @param p_tree Find tree to create SELECT
*/
void
ml_PlaySmartPlaylistBasedOn
(
media_library_t
*
p_ml
,
ml_ftree_t
*
p_tree
)
{
assert
(
p_tree
);
vlc_array_t
*
p_results
=
vlc_array_new
();
ml_FindAdv
(
p_ml
,
p_results
,
ML_ID
,
NULL
,
p_tree
);
playlist_t
*
p_pl
=
pl_Get
(
p_ml
);
playlist_Lock
(
p_pl
);
playlist_Clear
(
p_pl
,
true
);
for
(
int
i
=
0
;
i
<
vlc_array_count
(
p_results
);
i
++
)
{
ml_result_t
*
p_res
=
(
ml_result_t
*
)
vlc_array_item_at_index
(
p_results
,
i
);
input_item_t
*
p_item
;
if
(
p_res
)
{
p_item
=
ml_CreateInputItem
(
p_ml
,
p_res
->
value
.
i
);
playlist_AddInput
(
p_pl
,
p_item
,
PLAYLIST_APPEND
,
PLAYLIST_END
,
true
,
true
);
}
}
playlist_Unlock
(
p_pl
);
ml_DestroyResultArray
(
p_results
);
vlc_array_destroy
(
p_results
);
}
/**
* @brief Returns a person list of given type
* @param p_ml The ML object
...
...
src/missing.c
View file @
4d14350c
...
...
@@ -434,14 +434,6 @@ ml_ftree_t* ml_FtreeSpec( ml_ftree_t* tree, ml_select_e crit, int limit,
return
NULL
;
}
void
ml_PlaySmartPlaylistBasedOn
(
media_library_t
*
p_ml
,
ml_ftree_t
*
p_tree
)
{
VLC_UNUSED
(
p_ml
);
VLC_UNUSED
(
p_tree
);
assert
(
0
);
}
void
ml_DeletePersonTypeFromMedia
(
ml_media_t
*
p_media
,
const
char
*
psz_role
)
{
VLC_UNUSED
(
p_media
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment