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
bb43af44
Commit
bb43af44
authored
Oct 07, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
media library loading: remove "meta-file" input option from subitems
parent
e56adbae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/playlist/loadsave.c
src/playlist/loadsave.c
+7
-0
No files found.
src/playlist/loadsave.c
View file @
bb43af44
...
...
@@ -96,6 +96,12 @@ static void input_item_subitem_added( const vlc_event_t * p_event,
{
playlist_t
*
p_playlist
=
user_data
;
input_item_t
*
p_item
=
p_event
->
u
.
input_item_subitem_added
.
p_new_child
;
/* The media library input has one and only one option: "meta-file"
* So we remove that unneeded option. */
free
(
p_item
->
ppsz_options
[
0
]
);
p_item
->
i_options
=
0
;
playlist_AddInput
(
p_playlist
,
p_item
,
PLAYLIST_APPEND
,
PLAYLIST_END
,
VLC_FALSE
,
VLC_FALSE
);
}
...
...
@@ -135,6 +141,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
}
const
char
*
const
psz_option
=
"meta-file"
;
/* that option has to be cleaned in input_item_subitem_added() */
p_input
=
input_ItemNewExt
(
p_playlist
,
psz_uri
,
_
(
"Media Library"
),
1
,
&
psz_option
,
-
1
);
if
(
p_input
==
NULL
)
...
...
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