Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
beb3e94f
Commit
beb3e94f
authored
Nov 22, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Let input_item_AddSubItem set the playlist flags.
It will allows proper locking of p_item.
parent
6d56066a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+4
-6
No files found.
modules/demux/mp4/mp4.c
View file @
beb3e94f
...
...
@@ -368,9 +368,8 @@ static int Open( vlc_object_t * p_this )
msg_Dbg
(
p_demux
,
"detected playlist mov file (%d ref)"
,
i_count
);
input_thread_t
*
p_input
=
vlc_object_find
(
p_demux
,
VLC_OBJECT_INPUT
,
FIND_PARENT
);
input_item_t
*
p_current
=
input_GetItem
(
p_input
);
p_current
->
i_type
=
ITEM_TYPE_PLAYLIST
;
input_thread_t
*
p_input
=
vlc_object_find
(
p_demux
,
VLC_OBJECT_INPUT
,
FIND_PARENT
);
input_item_t
*
p_current
=
input_GetItem
(
p_input
);
for
(
i
=
0
;
i
<
i_count
;
i
++
)
{
...
...
@@ -415,10 +414,9 @@ static int Open( vlc_object_t * p_this )
psz_ref
=
psz_absolute
;
free
(
psz_path
);
}
input_item_t
*
p_input
;
msg_Dbg
(
p_demux
,
"adding ref = `%s'"
,
psz_ref
);
p_input
=
input_item_NewExt
(
p_demux
,
psz_ref
,
NULL
,
0
,
NULL
,
-
1
);
input_item_t
*
p_input
=
input_item_NewExt
(
p_demux
,
psz_ref
,
NULL
,
0
,
NULL
,
-
1
);
input_item_CopyOptions
(
p_current
,
p_input
);
input_item_AddSubItem
(
p_current
,
p_input
);
vlc_gc_decref
(
p_input
);
...
...
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