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
75d4dcbd
Commit
75d4dcbd
authored
Jun 12, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix skip in initial status
* Don't waste ids * Fix a bug in services discoveries
parent
97a70d1b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
src/input/item.c
src/input/item.c
+0
-2
src/playlist/control.c
src/playlist/control.c
+3
-0
src/playlist/item.c
src/playlist/item.c
+0
-1
src/playlist/tree.c
src/playlist/tree.c
+2
-0
No files found.
src/input/item.c
View file @
75d4dcbd
...
...
@@ -76,8 +76,6 @@ static void vlc_input_item_Destroy ( gc_object_t *p_this )
playlist_t
*
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_obj
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
fprintf
(
stderr
,
"Destroying item %s
\n
"
,
p_input
->
psz_name
);
vlc_input_item_Clean
(
p_input
);
...
...
src/playlist/control.c
View file @
75d4dcbd
...
...
@@ -168,6 +168,9 @@ int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args )
p_playlist
->
request
.
p_node
=
p_playlist
->
status
.
p_node
;
p_playlist
->
request
.
p_item
=
p_playlist
->
status
.
p_item
;
p_playlist
->
request
.
i_skip
=
(
int
)
va_arg
(
args
,
int
);
/* if already running, keep running */
if
(
p_playlist
->
status
.
i_status
!=
PLAYLIST_STOPPED
)
p_playlist
->
request
.
i_status
=
p_playlist
->
status
.
i_status
;
p_playlist
->
request
.
b_request
=
VLC_TRUE
;
break
;
...
...
src/playlist/item.c
View file @
75d4dcbd
...
...
@@ -237,7 +237,6 @@ int playlist_PlaylistAddInput( playlist_t* p_playlist, input_item_t *p_input,
int
i_mode
,
int
i_pos
)
{
playlist_item_t
*
p_item_cat
,
*
p_item_one
;
p_input
->
i_id
=
++
p_playlist
->
i_last_input_id
;
msg_Dbg
(
p_playlist
,
"adding playlist item `%s' ( %s )"
,
p_input
->
psz_name
,
p_input
->
psz_uri
);
...
...
src/playlist/tree.c
View file @
75d4dcbd
...
...
@@ -300,6 +300,8 @@ void playlist_NodesCreateForSD( playlist_t *p_playlist, char *psz_name,
p_playlist
->
p_root_onelevel
);
(
*
pp_node_one
)
->
i_flags
|=
PLAYLIST_RO_FLAG
;
(
*
pp_node_one
)
->
i_flags
|=
PLAYLIST_SKIP_FLAG
;
(
*
pp_node_one
)
->
p_input
->
i_id
=
(
*
pp_node_cat
)
->
p_input
->
i_id
;
}
...
...
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